public class Share extends Object implements SchedConstants
SchedConstants.EvictionPolicy, SchedConstants.PolicyCOMPONENT_NAME, DEFAULT_INIT_STABILITY_COUNT, DEFAULT_INSTANCES, DEFAULT_MAX_INSTANCES, DEFAULT_MAX_PROCESSES, DEFAULT_NODE_METRICS_RATE, DEFAULT_OR_PUBLISH_RATE, DEFAULT_PRIORITY, DEFAULT_PROCESSES, DEFAULT_RM_PUBLISHING_SLOP, DEFAULT_SCHEDULING_RATE, DEFAULT_SCHEDULING_RATIO, DEFAULT_SHARE_WEIGHT, DEFAULT_STABILITY_COUNT| Constructor and Description |
|---|
Share(org.apache.uima.ducc.common.utils.id.DuccId id,
Machine machine,
org.apache.uima.ducc.common.utils.id.DuccId jobid,
int share_order)
UIMA-4142
This constructor is for a blacklisted share.
|
Share(org.apache.uima.ducc.common.utils.id.DuccId id,
Machine machine,
IRmJob job,
int share_order)
This constructor is used during recovery ONLY.
|
Share(Machine machine,
IRmJob job,
int share_order)
Normal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
org.apache.uima.ducc.common.utils.id.DuccId |
getBlJobId() |
org.apache.uima.ducc.common.utils.id.DuccId |
getId() |
long |
getInitializationTime()
Returns only initialization time.
|
IRmJob |
getJob() |
org.apache.uima.ducc.common.Node |
getNode() |
org.apache.uima.ducc.common.NodeIdentity |
getNodeIdentity() |
org.apache.uima.ducc.rm.scheduler.NodePool |
getNodepool() |
int |
getNodepoolDepth() |
String |
getNodepoolId() |
int |
getShareOrder()
The order of the share itself.
|
int |
hashCode() |
boolean |
isBlacklisted() |
boolean |
isPurged() |
void |
setFixed() |
void |
setInitializationTime(long millis) |
String |
toString() |
boolean |
update(org.apache.uima.ducc.common.utils.id.DuccId jobid,
long mem,
long investment,
org.apache.uima.ducc.transport.event.common.IProcessState.ProcessState state,
org.apache.uima.ducc.transport.event.common.ITimeWindow init_time,
String pid) |
public Share(org.apache.uima.ducc.common.utils.id.DuccId id,
Machine machine,
IRmJob job,
int share_order)
public Share(org.apache.uima.ducc.common.utils.id.DuccId id,
Machine machine,
org.apache.uima.ducc.common.utils.id.DuccId jobid,
int share_order)
public org.apache.uima.ducc.rm.scheduler.NodePool getNodepool()
public int getNodepoolDepth()
public String getNodepoolId()
public IRmJob getJob()
public org.apache.uima.ducc.common.utils.id.DuccId getId()
public boolean isBlacklisted()
public org.apache.uima.ducc.common.utils.id.DuccId getBlJobId()
public org.apache.uima.ducc.common.NodeIdentity getNodeIdentity()
public org.apache.uima.ducc.common.Node getNode()
public int getShareOrder()
public boolean update(org.apache.uima.ducc.common.utils.id.DuccId jobid,
long mem,
long investment,
org.apache.uima.ducc.transport.event.common.IProcessState.ProcessState state,
org.apache.uima.ducc.transport.event.common.ITimeWindow init_time,
String pid)
public long getInitializationTime()
public void setInitializationTime(long millis)
public void setFixed()
public boolean isPurged()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.