Interface BlockingRunnable

  • All Superinterfaces:
    Runnable

    public interface BlockingRunnable
    extends Runnable
    A special Runnable that is only sent to a thread when it is ready to be executed without blocking the thread

    Used in org.infinispan.util.concurrent.BlockingTaskAwareExecutorService

    Since:
    5.3
    Author:
    Pedro Ruivo
    • Method Detail

      • isReady

        boolean isReady()
        Returns:
        true if this Runnable is ready to be executed without blocking