public class WorkItemState extends Object implements IWorkItemState
| Modifier and Type | Class and Description |
|---|---|
static class |
WorkItemState.Name
Deprecated.
|
IWorkItemState.State| Constructor and Description |
|---|
WorkItemState(int seqNo) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IWorkItemState wis) |
long |
getMillisInvestment() |
long |
getMillisInvestment(long now) |
long |
getMillisOverhead() |
long |
getMillisOverhead(long now) |
long |
getMillisProcessing() |
long |
getMillisProcessing(long now) |
String |
getNode() |
String |
getPid() |
String |
getSeqNo() |
IWorkItemState.State |
getState() |
String |
getTid() |
String |
getWiId() |
void |
investmentReset() |
void |
setNode(String node) |
void |
setPid(String pid) |
void |
setTid(String tid) |
void |
setWiId(String wiId) |
void |
stateEnded() |
void |
stateError() |
void |
stateLost() |
void |
stateOperating() |
void |
statePreempt() |
void |
stateQueued() |
void |
stateRetry() |
void |
stateStart() |
public String getSeqNo()
getSeqNo in interface IWorkItemStatepublic String getWiId()
getWiId in interface IWorkItemStatepublic void setWiId(String wiId)
setWiId in interface IWorkItemStatepublic String getNode()
getNode in interface IWorkItemStatepublic void setNode(String node)
setNode in interface IWorkItemStatepublic String getPid()
getPid in interface IWorkItemStatepublic void setPid(String pid)
setPid in interface IWorkItemStatepublic String getTid()
getTid in interface IWorkItemStatepublic void setTid(String tid)
setTid in interface IWorkItemStatepublic IWorkItemState.State getState()
getState in interface IWorkItemStatepublic void stateStart()
stateStart in interface IWorkItemStatepublic void stateQueued()
stateQueued in interface IWorkItemStatepublic void stateOperating()
stateOperating in interface IWorkItemStatepublic void investmentReset()
investmentReset in interface IWorkItemStatepublic void stateEnded()
stateEnded in interface IWorkItemStatepublic void stateError()
stateError in interface IWorkItemStatepublic void stateLost()
stateLost in interface IWorkItemStatepublic void stateRetry()
stateRetry in interface IWorkItemStatepublic void statePreempt()
statePreempt in interface IWorkItemStatepublic long getMillisOverhead()
getMillisOverhead in interface IWorkItemStatepublic long getMillisOverhead(long now)
getMillisOverhead in interface IWorkItemStatepublic long getMillisProcessing()
getMillisProcessing in interface IWorkItemStatepublic long getMillisProcessing(long now)
getMillisProcessing in interface IWorkItemStatepublic long getMillisInvestment()
getMillisInvestment in interface IWorkItemStatepublic long getMillisInvestment(long now)
getMillisInvestment in interface IWorkItemStatepublic int compareTo(IWorkItemState wis)
compareTo in interface Comparable<IWorkItemState>Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.