public class WaitingQueue extends java.lang.Object implements Basic
Constructor and Description |
---|
WaitingQueue(Model model,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
void |
cooperationBegin(java.lang.String masterId,
java.lang.String slaveId,
long time) |
void |
cooperationEnd(java.lang.String masterId,
java.lang.String slaveId,
long time) |
Grafic |
createGrafic(java.lang.String viewId,
int x,
int y,
java.lang.String defaultEntityTypeId,
int anzVisible,
boolean horizontal,
java.awt.Dimension deltaSize)
create a WaitingQueueGrafic
|
java.lang.String[][] |
getContentMasters() |
java.lang.String[][] |
getContentSlaves() |
java.lang.String |
getCooperationMaster(int i) |
java.lang.String |
getCooperationSlave(int i) |
int |
getCooperationsNo() |
Grafic |
getGrafic()
get ProcessGrafic, created before
|
java.lang.String |
getId()
get id of waiting queue
|
Model |
getModel() |
java.lang.String |
getName()
get name of waiting queue
|
void |
insert(java.lang.String entityId,
int priority,
boolean master,
java.lang.String priorityRule,
long time) |
void |
remove(java.lang.String entityId,
boolean master,
long time) |
void |
reset() |
void |
setName(java.lang.String name)
set name of waiting queue
|
public WaitingQueue(Model model, java.lang.String id)
model
- used engine.model.Modelid
- public java.lang.String getId()
getId
in interface ClassBasic
public void setName(java.lang.String name)
name
- public java.lang.String getName()
public java.lang.String[][] getContentMasters()
public java.lang.String[][] getContentSlaves()
public int getCooperationsNo()
public java.lang.String getCooperationMaster(int i)
public java.lang.String getCooperationSlave(int i)
public void reset()
public void insert(java.lang.String entityId, int priority, boolean master, java.lang.String priorityRule, long time)
public void remove(java.lang.String entityId, boolean master, long time)
public void cooperationBegin(java.lang.String masterId, java.lang.String slaveId, long time)
public void cooperationEnd(java.lang.String masterId, java.lang.String slaveId, long time)
public Grafic createGrafic(java.lang.String viewId, int x, int y, java.lang.String defaultEntityTypeId, int anzVisible, boolean horizontal, java.awt.Dimension deltaSize) throws ModelException
viewId
- Id of viewx
- middlepoint x-coordinatey
- middlepoint y-coordinatedefaultEntityTypeId
- for sizingModelException