Class RunOnce

java.lang.Object
com.linkedin.alpini.base.concurrency.RunOnce
All Implemented Interfaces:
Runnable

public final class RunOnce extends Object implements Runnable
A simple filter Runnable which will only invoke the contained runnable no more than once.
  • Constructor Details

    • RunOnce

      public RunOnce(@Nonnull Runnable task)
  • Method Details