Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Interface that defines callback used for allowing atomic operations (usually of form "GET,modify,PUT") against store. Locking only limits competing write methods (atomic and simple PUTs), not read operations.

<IN> Type of argument that is passed through
<OUT> Type of return value
public interface StoreOperationCallback<IN,OUT>
Callback method called in context of write lock.

key Key of entry being modified
backend Backend store used for physical access
arg Optional argument to pass
Return value from operation, if any
    public OUT perform(StorableKey keyStoreBackend backend, IN arg)
            throws IOExceptionStoreException;
New to GrepCode? Check out our FAQ X