org.elasticsearch.common.io
Class FastCharArrayWriter.Cached

java.lang.Object
  extended by org.elasticsearch.common.io.FastCharArrayWriter.Cached
Enclosing class:
FastCharArrayWriter

public static class FastCharArrayWriter.Cached
extends java.lang.Object

A thread local based cache of FastByteArrayOutputStream.


Constructor Summary
FastCharArrayWriter.Cached()
           
 
Method Summary
static FastCharArrayWriter cached()
          Returns the cached thread local byte stream, with its internal stream cleared.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastCharArrayWriter.Cached

public FastCharArrayWriter.Cached()
Method Detail

cached

public static FastCharArrayWriter cached()
Returns the cached thread local byte stream, with its internal stream cleared.