org.apache.hadoop.hbase.executor
Class ExecutorService.ExecutorStatus

java.lang.Object
  extended by org.apache.hadoop.hbase.executor.ExecutorService.ExecutorStatus
Enclosing class:
ExecutorService

public static class ExecutorService.ExecutorStatus
extends Object

A snapshot of the status of a particular executor. This includes the contents of the executor's pending queue, as well as the threads and events currently being processed. This is a consistent snapshot that is immutable once constructed.


Method Summary
 void dumpTo(Writer out, String indent)
          Dump a textual representation of the executor's status to the given writer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

dumpTo

public void dumpTo(Writer out,
                   String indent)
            throws IOException
Dump a textual representation of the executor's status to the given writer.

Parameters:
out - the stream to write to
indent - a string prefix for each line, used for indentation
Throws:
IOException


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.