public class MemcachedStateCursor<T> extends StateCursor<T>
This implementation does not support transactions.
| Constructor and Description |
|---|
MemcachedStateCursor(net.spy.memcached.MemcachedClient memclient,
Class<T> stateClass)
Initialize a new Memcached state cursor
|
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit transaction
|
void |
executeInner()
Execute all operations in cursor
|
execute, get, getAll, getResultValueForId, getResultValuesForId, set, withOperationpublic void commit()
throws StateException
StateCursorIf the cursor was created as a transaction, calling this method on the cursor will commit the transaction. If this method is called on a cursor that is not configured as a transaction, an exception will be thrown.
commit in class StateCursor<T>StateException - StateExceptionpublic void executeInner()
throws StateException
StateCursorStateExceptionCopyright © 2022. All rights reserved.