public class ConsoleListener extends java.lang.Object implements EventListener, java.lang.Runnable
| Constructor and Description |
|---|
ConsoleListener(java.io.PrintStream outStream) |
ConsoleListener(java.io.PrintStream out,
int batchSize) |
ConsoleListener(java.io.PrintStream out,
int batchSize,
long offerTimeMillis) |
| Modifier and Type | Method and Description |
|---|---|
int |
eventsBuffered() |
void |
onEvent(Event e) |
void |
run() |
public ConsoleListener(java.io.PrintStream outStream)
public ConsoleListener(java.io.PrintStream out,
int batchSize)
public ConsoleListener(java.io.PrintStream out,
int batchSize,
long offerTimeMillis)
public void run()
run in interface java.lang.Runnablepublic void onEvent(Event e)
onEvent in interface EventListenerpublic int eventsBuffered()
eventsBuffered in interface EventListenerCopyright © 2016 Richard Thurston. All Rights Reserved.