Class RunAsync

  • All Implemented Interfaces:
    Message

    public final class RunAsync
    extends Object
    implements Message
    Message for asynchronous runnable invocations.
    • Constructor Detail

      • RunAsync

        public RunAsync​(Runnable runnable,
                        long atTimeNanos)
        Creates a new RunAsync message.
        Parameters:
        runnable - The Runnable to run.
        atTimeNanos - The time (as for System.nanoTime()) when to execute the runnable.
    • Method Detail

      • getRunnable

        public Runnable getRunnable()
      • getTimeNanos

        public long getTimeNanos()