public class EventSourceCoordinator
extends java.lang.Object
EventSourceAdapter
s and forwards them to the provided CoordinatedEventSender
Constructor and Description |
---|
EventSourceCoordinator(CoordinatedEventSender sender) |
Modifier and Type | Method and Description |
---|---|
void |
coordinate(EventSourceAdapter<?> adapter)
Register adapter inside coordinator, throws
CoordinatorException if coordination has already been started |
void |
start()
Initiates coordination
|
public EventSourceCoordinator(CoordinatedEventSender sender)
public void coordinate(EventSourceAdapter<?> adapter)
CoordinatorException
if coordination has already been startedadapter
- - adapter to registerpublic void start()