public static interface PersistenceObjectStore.StoreObjectAccessorWithLock extends PersistenceObjectStore.StoreObjectAccessor
| Modifier and Type | Method and Description | 
|---|---|
| java.util.concurrent.locks.ReadWriteLock | getLockObject()returns the underlying lock in case callers need more complex synchronization control | 
| void | waitForCurrentWrites(Duration timeout)waits for all currently scheduled write lock operations (puts, appends, and deletes) to complete;
 but does not wait on or prevent subsequent modifications. | 
append, delete, exists, get, getLastModifiedDate, putvoid waitForCurrentWrites(Duration timeout) throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
 
 for more complex uses, readers should getLockObject().readLock().lockInterruptibly() 
 and ensure they subsequently unlock() it of course. see getLockObject().
java.lang.InterruptedExceptionjava.util.concurrent.TimeoutExceptionjava.util.concurrent.locks.ReadWriteLock getLockObject()