com.atlassian.confluence.test.rpc
Class LatchEventListener

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

public class LatchEventListener
extends Object

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


Constructor Summary
LatchEventListener(CountDownLatch latch, Class type)
           
 
Method Summary
 void onEvent(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(CountDownLatch latch,
                          Class type)
Method Detail

onEvent

@EventListener
public void onEvent(Object event)


Copyright © 2003-2012 Atlassian. All Rights Reserved.