Package | Description |
---|---|
ax.antpick.k2hdkc |
Provides classes that are fundamental to the applications to communicate with a k2hdk clustering system.
|
Modifier and Type | Method and Description |
---|---|
static Session |
Session.of(Cluster cluster)
Creates a Session instance.
|
Modifier and Type | Method and Description |
---|---|
<T> Optional<Result<T>> |
GetCmd.execute(Session session)
Retrieves the value of a key
|
<T> Optional<Result<T>> |
KeyQueueAddCmd.execute(Session session)
Adds an element to this queue.
|
<T> Optional<Result<T>> |
CasGetCmd.execute(Session session)
Gets a variable from a cluster using a CAS operation.
|
<T> Optional<Result<T>> |
CasIncDecCmd.execute(Session session)
Increments or decrements a CAS variable.
|
<T> Optional<Result<T>> |
Cmd.execute(Session session)
Executes a command and return a result.
|
<T> Optional<Result<T>> |
RemoveSubkeyCmd.execute(Session session)
Remove subkeys.
|
<T> Optional<Result<T>> |
QueueAddCmd.execute(Session session)
Adds an element to this queue.
|
<T> Optional<Result<T>> |
QueueRemoveCmd.execute(Session session)
Removes elements from this queue.
|
<T> Optional<Result<T>> |
CasInitCmd.execute(Session session)
Initialize the value of a key in a CAS operation.
|
<T> Optional<Result<T>> |
CasSetCmd.execute(Session session)
Sets a variable by a CAS operation.
|
<T> Optional<Result<T>> |
KeyQueueRemoveCmd.execute(Session session)
Removes an element from this queue.
|
<T> Optional<Result<T>> |
SetCmd.execute(Session session)
Updates the value of a key
|
<T> Optional<Result<T>> |
SetSubkeysCmd.execute(Session session)
Replaces current subkeys with new one.
|
<T> Optional<Result<T>> |
ClearSubkeysCmd.execute(Session session)
Clear subkeys of a key.
|
<T> Optional<Result<T>> |
SetAllCmd.execute(Session session)
Stores a key with a value and subkeys.
|
<T> Optional<Result<T>> |
GetSubkeysCmd.execute(Session session)
Retrievs subkeys of a key.
|
<T> Optional<Result<T>> |
RenameCmd.execute(Session session)
Rename a old key with a new key.
|
<T> Optional<Result<T>> |
AddSubkeyCmd.execute(Session session)
Adds a new subkey to the current subkeys of a key.
|
<T> Optional<Result<T>> |
GetAttrsCmd.execute(Session session)
Retrievs attributes of a key.
|
<T> Optional<Result<T>> |
RemoveCmd.execute(Session session)
Removes a key from a cluster.
|
Copyright © 2020. All rights reserved.