public class Pump extends Object
| Modifier and Type | Method and Description |
|---|---|
static Pump |
createPump(Input<?> input,
Output<?> output)
Creates a new pump.
|
int |
messagesPumped()
Returns the number of messages pumped.
|
void |
start()
Starts the pump.
|
void |
stop()
Stops the pump.
|
public static Pump createPump(Input<?> input, Output<?> output)
input - The input from which to read messages.output - The output to which to write messages.public int messagesPumped()
public void start()
public void stop()
Copyright © 2013-2014. All Rights Reserved.