Class TrackingExecutor

java.lang.Object
org.eclipse.jetty.util.thread.TrackingExecutor
All Implemented Interfaces:
Executor, Dumpable

@ManagedObject("Tracking Executor wrapper") public class TrackingExecutor extends Object implements Executor, Dumpable
  • Constructor Details

    • TrackingExecutor

      public TrackingExecutor(Executor executor, boolean detailed)
  • Method Details

    • execute

      public void execute(Runnable task)
      Specified by:
      execute in interface Executor
    • dump

      public void dump(Appendable out, String indent) throws IOException
      Description copied from interface: Dumpable
      Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
      Specified by:
      dump in interface Dumpable
      Parameters:
      out - The appendable to dump to
      indent - The indent to apply after any new lines.
      Throws:
      IOException - if unable to write to Appendable
    • setDetailedDump

      public void setDetailedDump(boolean detailedDump)
    • isDetailedDump

      @ManagedAttribute("reports additional details in the dump") public boolean isDetailedDump()
    • size

      public int size()