Class WhiteboardExecutor

java.lang.Object
org.apache.jackrabbit.oak.spi.whiteboard.AbstractServiceTracker<Executor>
org.apache.jackrabbit.oak.spi.whiteboard.WhiteboardExecutor
All Implemented Interfaces:
Executor

public class WhiteboardExecutor extends AbstractServiceTracker<Executor> implements Executor
Dynamic Executor based on the available whiteboard services. The execute(Runnable) method passes the given command to the first available executor service. Alternatively the command is run in the calling thread if no executor services are available.
  • Constructor Details

    • WhiteboardExecutor

      public WhiteboardExecutor()
  • Method Details