@SleeEvent(id=@ComponentId(name="com.opencloud.rhino.resources.sessionownership.SessionOwnershipWriteResultEvent",vendor="OpenCloud",version="1.0")) public final class SessionOwnershipWriteResultEvent extends Object
This event is fired on a SessionOwnershipActivity to report the outcome of a store or delete query operation.
Constructor and Description |
---|
SessionOwnershipWriteResultEvent(long queryID,
List<SessionOwnershipWriteResult> results) |
Modifier and Type | Method and Description |
---|---|
long |
getQueryID()
The query identifier.
|
List<SessionOwnershipWriteResult> |
getResults()
Get the write results produced from the query operation.
|
String |
toString() |
public SessionOwnershipWriteResultEvent(long queryID, List<SessionOwnershipWriteResult> results)
public long getQueryID()
The query identifier. This identifier equals that allocated and reported back to the SBB when the query was initiated.
public List<SessionOwnershipWriteResult> getResults()
Get the write results produced from the query operation. This is a list containing the result of the writes to each primary and additional key involved in the overall operation. In the case of a CAS operation, only the outcome for the primary key write may be reported if the CAS condition failed.