Package com.gigaspaces.attribute_store
Interface SharedReentrantReadWriteLockProvider
public interface SharedReentrantReadWriteLockProvider
- Since:
- 16.3
- Author:
- Sagiv Michael
-
Method Summary
Modifier and TypeMethodDescriptionacquireReadLock(String key, long timeout, TimeUnit timeunit) acquireWriteLock(String key, long timeout, TimeUnit timeunit)
-
Method Details
-
acquireReadLock
SharedReentrantReadWriteLock acquireReadLock(String key, long timeout, TimeUnit timeunit) throws IOException, TimeoutException, InterruptedException -
acquireWriteLock
SharedReentrantReadWriteLock acquireWriteLock(String key, long timeout, TimeUnit timeunit) throws IOException, TimeoutException, InterruptedException
-