public interface WorkerCommunication
Internal API for worker services.
Modifier and Type | Method and Description |
---|---|
ListenableScheduledFuture<?> |
scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit) |
void |
sendMessage(WorkerMessage<java.io.Serializable> message)
Send a message to other worker services in the distributed environment.
|
void sendMessage(WorkerMessage<java.io.Serializable> message)
Send a message to other worker services in the distributed environment.
message
- a message to send.ListenableScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable command, long initialDelay, long period, java.util.concurrent.TimeUnit unit)