public final class AgentProcessReportMessage extends Object implements AddressAwareMessage, AgentAndCacheReport
ProcessReport.State, ProcessReport.StateThenNameThenNumberComparator| Constructor and Description |
|---|
AgentProcessReportMessage(ProcessReport.State state,
CacheHighWaterMark cacheHighWaterMark)
Creates a new
AgentProcessReportMessage instance. |
| Modifier and Type | Method and Description |
|---|---|
AgentIdentity |
getAgentIdentity()
Accessor for the process identity.
|
CacheHighWaterMark |
getCacheHighWaterMark()
Accessor for the cache status.
|
AgentAddress |
getProcessAddress()
Accessor for the process identity.
|
ProcessReport.State |
getState()
Accessor for the process state.
|
void |
setAddress(Address address)
Set the origin address.
|
public AgentProcessReportMessage(ProcessReport.State state, CacheHighWaterMark cacheHighWaterMark)
AgentProcessReportMessage instance.state - The process state. See
ProcessReport.cacheHighWaterMark - The current cache status.public void setAddress(Address address) throws CommunicationException
setAddress in interface AddressAwareMessageaddress - The address.CommunicationException - If the address is not valid for this message type.public AgentAddress getProcessAddress()
getProcessAddress in interface ProcessReportpublic AgentIdentity getAgentIdentity()
getAgentIdentity in interface AgentProcessReportpublic ProcessReport.State getState()
getState in interface ProcessReportpublic CacheHighWaterMark getCacheHighWaterMark()
getCacheHighWaterMark in interface AgentAndCacheReportCopyright © 2000-2014. All Rights Reserved.