public class DispatchServiceImpl extends Object implements DispatchService
Constructor and Description |
---|
DispatchServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addExternal(Dispatchable dispatchable)
Add a Dispatchable implementation.
|
void |
dispatch()
Execute all Dispatchable implementations added to the service since the last invocation of this method.
|
public void dispatch()
DispatchService
dispatch
in interface DispatchService
public void addExternal(Dispatchable dispatchable)
DispatchService
addExternal
in interface DispatchService
dispatchable
- to execute later