Package | Description |
---|---|
com.opencloud.rhino.facilities.sessionownership | |
com.opencloud.rhino.resources.sessionownership |
Modifier and Type | Method and Description |
---|---|
SessionOwnershipRecord |
SessionOwnershipRecord.Builder.build()
Create a new immutable SessionOwnershipRecord based on the current values assigned to this builder.
|
SessionOwnershipRecord |
SessionOwnershipFacility.peekRecord(String primaryKey)
Synchronously attempt to retrieve a locally cached copy of the session ownership record with the specified primary key.
|
Modifier and Type | Method and Description |
---|---|
Set<SessionOwnershipRecord> |
SessionOwnershipFacility.peekRecordsByAdditionalKey(String additionalKey)
Synchronously attempt to retrieve locally cached copies of the session ownership records with the specified additional key.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionOwnershipFacility.storeRecord(SessionOwnershipRecord sessionOwnershipRecord)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecord(SessionOwnershipRecord sessionOwnershipRecord,
long ttl)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecord(SessionOwnershipRecord sessionOwnershipRecord,
long ttl,
SessionOwnershipWriteListener listener)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecord(SessionOwnershipRecord sessionOwnershipRecord,
SessionOwnershipWriteListener listener)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecordWithCasCompareSequence(int expectedStoredSequence,
SessionOwnershipRecord sessionOwnershipRecord)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecordWithCasCompareSequence(int expectedStoredSequence,
SessionOwnershipRecord sessionOwnershipRecord,
long ttl)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecordWithCasCompareSequence(int expectedStoredSequence,
SessionOwnershipRecord sessionOwnershipRecord,
long ttl,
SessionOwnershipWriteListener listener)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecordWithCasCompareSequence(int expectedStoredSequence,
SessionOwnershipRecord sessionOwnershipRecord,
SessionOwnershipWriteListener listener)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecordWithCasCreateOnly(SessionOwnershipRecord sessionOwnershipRecord)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecordWithCasCreateOnly(SessionOwnershipRecord sessionOwnershipRecord,
long ttl)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecordWithCasCreateOnly(SessionOwnershipRecord sessionOwnershipRecord,
long ttl,
SessionOwnershipWriteListener listener)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
void |
SessionOwnershipFacility.storeRecordWithCasCreateOnly(SessionOwnershipRecord sessionOwnershipRecord,
SessionOwnershipWriteListener listener)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
AdoptionResult |
SessionOwnershipFacility.tryAdoptRecord(SessionOwnershipRecord recordToAdopt)
Synchronously inspect a session ownership record and potentially "adopt" (change ownership to this node) it using a CAS operation.
|
Modifier and Type | Method and Description |
---|---|
void |
SessionOwnershipReadListener.onReadSuccess(Set<SessionOwnershipRecord> records)
Callback made when the session ownership facility completes a read query operation successfully.
|
Modifier and Type | Method and Description |
---|---|
SessionOwnershipRecord |
SessionOwnershipProvider.peekRecord(String primaryKey)
Retrieve a locally cached copy of the session ownership record for the specified primary key.
|
Modifier and Type | Method and Description |
---|---|
Set<SessionOwnershipRecord> |
SessionOwnershipReadResultEvent.getReadRecords()
Get the records obtained as a result of the retrieve query operation.
|
Set<SessionOwnershipRecord> |
SessionOwnershipProvider.peekRecordsByAdditionalKey(String additionalKey)
Retrieve locally cached copies of session ownership records with the specified additional key.
|
Modifier and Type | Method and Description |
---|---|
long |
SessionOwnershipActivity.storeRecord(SessionOwnershipRecord sessionOwnershipRecord)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
long |
SessionOwnershipActivity.storeRecord(SessionOwnershipRecord sessionOwnershipRecord,
long ttl)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
long |
SessionOwnershipActivity.storeRecordWithCASCompareSequence(int expectedStoredSequence,
SessionOwnershipRecord sessionOwnershipRecord)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
long |
SessionOwnershipActivity.storeRecordWithCASCompareSequence(int expectedStoredSequence,
SessionOwnershipRecord sessionOwnershipRecord,
long ttl)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
long |
SessionOwnershipActivity.storeRecordWithCASCreateOnly(SessionOwnershipRecord sessionOwnershipRecord)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
long |
SessionOwnershipActivity.storeRecordWithCASCreateOnly(SessionOwnershipRecord sessionOwnershipRecord,
long ttl)
Asynchronously attempt to write a session ownership record into the session ownership store.
|
Constructor and Description |
---|
SessionOwnershipReadResultEvent(long queryID,
boolean successful,
Set<SessionOwnershipRecord> records) |