Package com.linkedin.d2.discovery.event

Examples of com.linkedin.d2.discovery.event.PropertyEventThread.join()


    assertTrue(thread.send(testEvent));
    assertTrue(thread.send(testEvent));

    thread.interrupt();
    thread.join(0);

    // Also doesn't make sense with hack
    //assertFalse(thread.send(testEvent));
    assertEquals(testEvent.getCount(), 2);
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.