public class SimulatedSharedLockProvider extends Object implements SharedLockProvider
Constructor and Description |
---|
SimulatedSharedLockProvider() |
Modifier and Type | Method and Description |
---|---|
SharedLock |
acquire(String key,
long timeout,
TimeUnit timeunit) |
static SharedLockProvider |
getInstance() |
public static SharedLockProvider getInstance()
public SharedLock acquire(String key, long timeout, TimeUnit timeunit) throws TimeoutException, InterruptedException
acquire
in interface SharedLockProvider
TimeoutException
InterruptedException
Copyright © GigaSpaces.