Class SessionOwnershipWriteResultEvent
- java.lang.Object
-
- com.opencloud.rhino.resources.sessionownership.SessionOwnershipWriteResultEvent
-
@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.
- Since:
- Rhino 2.6.1
-
-
Constructor Summary
Constructors Constructor Description SessionOwnershipWriteResultEvent(long queryID, List<SessionOwnershipWriteResult> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getQueryID()
The query identifier.List<SessionOwnershipWriteResult>
getResults()
Get the write results produced from the query operation.String
toString()
-
-
-
Constructor Detail
-
SessionOwnershipWriteResultEvent
public SessionOwnershipWriteResultEvent(long queryID, List<SessionOwnershipWriteResult> results)
-
-
Method Detail
-
getQueryID
public long getQueryID()
The query identifier. This identifier equals that allocated and reported back to the SBB when the query was initiated.
- Returns:
- the query identifier.
- Since:
- Rhino 2.6.1
-
getResults
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.
- Returns:
- the write results.
- Since:
- Rhino 2.6.1
-
-