
Public Member Functions | |
| CASOperation | cas (String key, long casId, int flags, byte[] data, OperationCallback cb) |
| ConcatenationOperation | cat (ConcatenationType catType, long casId, String key, byte[] data, OperationCallback cb) |
| DeleteOperation | delete (String key, int when, OperationCallback operationCallback) |
| FlushOperation | flush (int delay, OperationCallback cb) |
| GetOperation | get (Collection< String > value, Callback cb) |
| GetOperation | get (String key, Callback callback) |
| GetsOperation | gets (String key, GetsOperation.Callback cb) |
| MutatatorOperation | mutate (Mutator m, String key, int by, long def, int exp, OperationCallback cb) |
| NoopOperation | noop (OperationCallback cb) |
| StatsOperation | stats (String arg, net.spy.memcached.ops.StatsOperation.Callback cb) |
| StoreOperation | store (StoreType storeType, String key, int flags, int exp, byte[] data, OperationCallback cb) |
| VersionOperation | version (OperationCallback cb) |
| CASOperation cas | ( | String | key, | |
| long | casId, | |||
| int | flags, | |||
| byte[] | data, | |||
| OperationCallback | cb | |||
| ) |
Create a CAS operation.
| key | the key to store | |
| casId | the CAS identifier value (from a gets operation) | |
| flags | the storage flags | |
| exp | the expiration time | |
| data | the data | |
| cb | the status callback |
Implements OperationFactory.
| ConcatenationOperation cat | ( | ConcatenationType | catType, | |
| long | casId, | |||
| String | key, | |||
| byte[] | data, | |||
| OperationCallback | cb | |||
| ) |
Get a concatenation operation.
| catType | the type of concatenation to perform. | |
| key | the key | |
| casId | the CAS value for an atomic compare-and-cat | |
| data | the data to store | |
| cb | a callback for reporting the status |
Implements OperationFactory.
| DeleteOperation delete | ( | String | key, | |
| int | when, | |||
| OperationCallback | operationCallback | |||
| ) |
Create a deletion operation.
| key | the key to delete | |
| when | the locking duration | |
| operationCallback | the status callback |
Implements OperationFactory.
| FlushOperation flush | ( | int | delay, | |
| OperationCallback | operationCallback | |||
| ) |
Create a flush operation.
| delay | delay until flush. | |
| operationCallback | the status callback |
Implements OperationFactory.
| GetOperation get | ( | Collection< String > | value, | |
| Callback | cb | |||
| ) |
| GetOperation get | ( | String | key, | |
| Callback | callback | |||
| ) |
| GetsOperation gets | ( | String | key, | |
| GetsOperation.Callback | cb | |||
| ) |
| MutatatorOperation mutate | ( | Mutator | m, | |
| String | key, | |||
| int | by, | |||
| long | def, | |||
| int | exp, | |||
| OperationCallback | cb | |||
| ) |
Create a mutator operation.
| m | the mutator type | |
| key | the mutatee key | |
| by | the amount to increment or decrement | |
| def | the default value | |
| exp | expiration in case we need to default (0 if no default) | |
| cb | the status callback |
Implements OperationFactory.
| NoopOperation noop | ( | OperationCallback | cb | ) |
Create a NOOP operation.
| cb | the operation callback |
Implements OperationFactory.
| StatsOperation stats | ( | String | arg, | |
| net.spy.memcached.ops.StatsOperation.Callback | cb | |||
| ) |
| StoreOperation store | ( | StoreType | storeType, | |
| String | key, | |||
| int | flags, | |||
| int | exp, | |||
| byte[] | data, | |||
| OperationCallback | cb | |||
| ) |
Create a store operation.
| storeType | the type of store operation | |
| key | the key to store | |
| flags | the storage flags | |
| exp | the expiration time | |
| data | the data | |
| cb | the status callback |
Implements OperationFactory.
| VersionOperation version | ( | OperationCallback | cb | ) |
Create a new version operation.
Implements OperationFactory.
1.5.8