Class NoOpExecutor

java.lang.Object
org.apache.qpid.jms.util.NoOpExecutor
All Implemented Interfaces:
Executor

public class NoOpExecutor extends Object implements Executor
Simple executor implementation that ignores any requests to execute a task. This can be used in the case where an executor should be returned or provided but the state of the application or object is such that it will not process any new work and the result of ignoring the request does not impact the application.
  • Field Details

    • INSTANCE

      public static final Executor INSTANCE
  • Constructor Details

    • NoOpExecutor

      public NoOpExecutor()
  • Method Details