com.atlassian.confluence.test.rpc
Class LatchEventListener

java.lang.Object
  extended by com.atlassian.confluence.test.rpc.LatchEventListener

public class LatchEventListener
extends java.lang.Object

Event listener used to perform waits in tests. On event, it simply counts down the latch.


Constructor Summary
LatchEventListener(java.util.concurrent.CountDownLatch latch, java.lang.Class type)
           
 
Method Summary
 void onEvent(java.lang.Object event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatchEventListener

public LatchEventListener(java.util.concurrent.CountDownLatch latch,
                          java.lang.Class type)
Method Detail

onEvent

@EventListener
public void onEvent(java.lang.Object event)


Copyright © 2003-2014 Atlassian. All Rights Reserved.