public abstract class SingleEventLogger<E> extends Object
Constructor and Description |
---|
SingleEventLogger() |
Modifier and Type | Method and Description |
---|---|
E |
getEvent(Duration timeout) |
E |
getEvent(long timeout,
TimeUnit unit)
Deprecated.
since 5.15, use
getEvent(Duration) |
Future<E> |
getEventFuture() |
protected void |
internalOnEvent(E event)
Due to limitations of event framework generic methods do not work well so we can't annotate it with @EventListener
|
protected void internalOnEvent(E event)
@Deprecated public E getEvent(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException
getEvent(Duration)
public E getEvent(Duration timeout) throws InterruptedException, ExecutionException, TimeoutException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.