Giriş
Şu satırı dahil ederiz
import com.hazelcast.cp.ICountDownLatch ;
Örnek
Şöyle yaparız
HazelcastInstance hazelcastInstance = Hazelcast.newHazelcastInstance(); CPSubsystem cpSubsystem = hazelcastInstance.getCPSubsystem(); ICountDownLatch latch = cpSubsystem.getCountDownLatch("latch"); latch.countDown();
Hiç yorum yok:
Yorum Gönder