public class PlanQueueElement extends Object
| Constructor and Description |
|---|
PlanQueueElement(float util,
int ttl,
gr.uoa.di.madgik.execution.engine.ExecutionHandle handle)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGetDecreaseTtl()
Decrease ttl value by one if it is positive
|
boolean |
decreaseTtl()
Decrease ttl value by one if it is positive
|
gr.uoa.di.madgik.execution.engine.ExecutionHandle |
getHandle() |
int |
getTtl() |
float |
getUtil() |
public PlanQueueElement(float util,
int ttl,
gr.uoa.di.madgik.execution.engine.ExecutionHandle handle)
util - Number of maximum concurrent execution jobsttl - Maximum number of missed turnshandle - Handler of execution planpublic float getUtil()
public int getTtl()
public boolean decreaseTtl()
public boolean canGetDecreaseTtl()
public gr.uoa.di.madgik.execution.engine.ExecutionHandle getHandle()
Copyright © 2017. All Rights Reserved.