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,
boolean isPuLock) |
static SharedLockProvider |
getInstance() |
public static SharedLockProvider getInstance()
public SharedLock acquire(String key, long timeout, TimeUnit timeunit, boolean isPuLock) throws TimeoutException, InterruptedException
acquire
in interface SharedLockProvider
TimeoutException
InterruptedException
Copyright © GigaSpaces.