use of com.hazelcast.core.ICountDownLatch in project hazelcast by hazelcast.
the class MBeanDestroyTest method testCountDownLatch.
@Test
public void testCountDownLatch() throws Exception {
ICountDownLatch countDownLatch = holder.getHz().getCountDownLatch("semaphore");
countDownLatch.getCount();
holder.assertMBeanExistEventually("ICountDownLatch", countDownLatch.getName());
destroyObjectAndAssert(countDownLatch, "ICountDownLatch");
}
use of com.hazelcast.core.ICountDownLatch in project hazelcast by hazelcast.
the class MBeanTest method testCountDownLatch.
@Test
public void testCountDownLatch() throws Exception {
ICountDownLatch countDownLatch = holder.getHz().getCountDownLatch("semaphore");
countDownLatch.getCount();
holder.assertMBeanExistEventually("ICountDownLatch", countDownLatch.getName());
}
Aggregations