Package gaiasky.util

Class OneTimeRunnable

java.lang.Object
gaiasky.util.OneTimeRunnable
All Implemented Interfaces:
Runnable

public abstract class OneTimeRunnable extends Object implements Runnable
A process that is parked and runs only once before it is removed.
  • Constructor Details

    • OneTimeRunnable

      protected OneTimeRunnable(String name)
  • Method Details

    • post

      public void post()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • process

      protected abstract void process()