public class LocalClusterCoordinator.LocalSemaphore extends Object implements DistributedSemaphore
DistributedSemaphore.DistributedLease| Constructor and Description |
|---|
LocalClusterCoordinator.LocalSemaphore(int size) |
public LocalClusterCoordinator.LocalSemaphore(int size)
public DistributedSemaphore.DistributedLease acquire(long timeout, TimeUnit timeUnit) throws Exception
acquire in interface DistributedSemaphoreExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.