use of com.hazelcast.cp.internal.datastructures.countdownlatch.proxy.CountDownLatchProxy in project hazelcast by hazelcast.
the class CountDownLatchService method createProxy.
@Override
public ICountDownLatch createProxy(String proxyName) {
try {
proxyName = withoutDefaultGroupName(proxyName);
RaftService service = nodeEngine.getService(RaftService.SERVICE_NAME);
RaftGroupId groupId = service.createRaftGroupForProxy(proxyName);
return new CountDownLatchProxy(nodeEngine, groupId, proxyName, getObjectNameForProxy(proxyName));
} catch (Exception e) {
throw rethrow(e);
}
}
Aggregations