io.nextop.client.MessageContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-common Show documentation
Show all versions of java-common Show documentation
Platform-agnostic Java core for Nextop
The newest version!
package io.nextop.client;
import rx.Scheduler;
/** thread-safe */
public interface MessageContext {
void post(Runnable r);
void postDelayed(Runnable r, int delayMs);
/** this context should be correctly serialized,
* so multiple #createWorker should execute jobs in order of input across all */
Scheduler getScheduler();
}