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 AddressAwareMessage
address
- The address.CommunicationException
- If the address is not valid for this message type.public AgentAddress getProcessAddress()
getProcessAddress
in interface ProcessReport
public AgentIdentity getAgentIdentity()
getAgentIdentity
in interface AgentProcessReport
public ProcessReport.State getState()
getState
in interface ProcessReport
public CacheHighWaterMark getCacheHighWaterMark()
getCacheHighWaterMark
in interface AgentAndCacheReport
Copyright © 2000-2014. All Rights Reserved.