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