public class TracingCountDownLatch extends Object implements com.hazelcast.core.ICountDownLatch
| Constructor and Description |
|---|
TracingCountDownLatch(com.hazelcast.core.ICountDownLatch latch,
boolean traceWithActiveSpanOnly) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
await(long timeout,
TimeUnit unit) |
void |
countDown() |
void |
destroy() |
int |
getCount() |
String |
getName() |
String |
getPartitionKey() |
String |
getServiceName() |
boolean |
trySetCount(int count) |
public TracingCountDownLatch(com.hazelcast.core.ICountDownLatch latch,
boolean traceWithActiveSpanOnly)
public boolean await(long timeout,
TimeUnit unit)
throws InterruptedException
await in interface com.hazelcast.core.ICountDownLatchInterruptedExceptionpublic void countDown()
countDown in interface com.hazelcast.core.ICountDownLatchpublic int getCount()
getCount in interface com.hazelcast.core.ICountDownLatchpublic boolean trySetCount(int count)
trySetCount in interface com.hazelcast.core.ICountDownLatchpublic String getPartitionKey()
getPartitionKey in interface com.hazelcast.core.DistributedObjectpublic String getName()
getName in interface com.hazelcast.core.DistributedObjectpublic String getServiceName()
getServiceName in interface com.hazelcast.core.DistributedObjectpublic void destroy()
destroy in interface com.hazelcast.core.DistributedObjectCopyright © 2018-2019–2019. All rights reserved.