org.elasticsearch.common.io.stream
Class CachedStreamOutput

java.lang.Object
  extended by org.elasticsearch.common.io.stream.CachedStreamOutput

public class CachedStreamOutput
extends java.lang.Object


Constructor Summary
CachedStreamOutput()
           
 
Method Summary
static BytesStreamOutput cachedBytes()
          Returns the cached thread local byte stream, with its internal stream cleared.
static HandlesStreamOutput cachedHandlesBytes()
           
static HandlesStreamOutput cachedHandlesLzfBytes()
           
static LZFStreamOutput cachedLZFBytes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedStreamOutput

public CachedStreamOutput()
Method Detail

cachedBytes

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


cachedLZFBytes

public static LZFStreamOutput cachedLZFBytes()
                                      throws java.io.IOException
Throws:
java.io.IOException

cachedHandlesLzfBytes

public static HandlesStreamOutput cachedHandlesLzfBytes()
                                                 throws java.io.IOException
Throws:
java.io.IOException

cachedHandlesBytes

public static HandlesStreamOutput cachedHandlesBytes()
                                              throws java.io.IOException
Throws:
java.io.IOException