Package | Description |
---|---|
com.opencloud.rhino.facilities.sessionownership |
Modifier and Type | Method and Description |
---|---|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.addAdditionalKey(String additionalKey)
Add an additional key to the existing set of additional keys for the record to be built.
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.addAttribute(String name,
String value)
Add or replace an attribute for the record to be built.
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.addOwnerURI(String ownerURI)
Add a session owner URI to the existing set of owner URIs for the record to be built.
|
static SessionOwnershipRecord.Builder |
SessionOwnershipRecord.newBuilder()
Create a new Session Ownership Record builder with fields initialised with empty data and a sequence number of 0.
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.overrideSequenceNumber(int sequenceNumber)
Overrides the generated sequence number for the record to be built.
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.removeAdditionalKey(String additionalKey)
Remove an additional key from the set of additional keys for the record to be built.
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.removeAttribute(String name)
Remove the attribute with the specified name from the map of attributes for the record to be built..
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.removeOwnerUri(String ownerURI)
Deprecated.
use
removeOwnerURI(String) instead. |
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.removeOwnerURI(String ownerURI)
Remove a session owner URI from the set of owner URIs for the record to be built..
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.setAdditionalKeys(Set<String> additionalKeys)
Set the set of additional keys for the record to be built.
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.setAttributes(Map<String,String> attributes)
Set the map of attributes for the record to be built.
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.setOwnerURIs(Set<String> ownerURIs)
Set the set of session owner URIs for the record to be built.
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.Builder.setPrimaryKey(String primaryKey)
Set the primary key for the record to be built.
|
SessionOwnershipRecord.Builder |
SessionOwnershipRecord.toBuilder()
Create a new builder with values initialised to match this record, however with the sequence number incremented by one.
|