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, withOperation
public void commit() throws StateException
StateCursor
If 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
StateCursor
StateException
Copyright © 2022. All rights reserved.