|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
org.elasticsearch.common.io.stream.StreamOutput
org.elasticsearch.common.io.stream.HandlesStreamOutput
public class HandlesStreamOutput
Constructor Summary | |
---|---|
HandlesStreamOutput(StreamOutput out)
|
|
HandlesStreamOutput(StreamOutput out,
int identityThreshold)
|
Method Summary | |
---|---|
void |
cleanHandles()
|
void |
close()
Closes this stream to further operations. |
void |
flush()
Forces any buffered output to be written. |
void |
reset()
|
void |
reset(StreamOutput out)
|
StreamOutput |
wrappedOut()
|
void |
writeByte(byte b)
Writes a single byte. |
void |
writeBytes(byte[] b,
int offset,
int length)
Writes an array of bytes. |
void |
writeUTF(java.lang.String s)
Writes a string. |
Methods inherited from class org.elasticsearch.common.io.stream.StreamOutput |
---|
write, write, writeBoolean, writeBytes, writeBytes, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeVInt, writeVLong |
Methods inherited from class java.io.OutputStream |
---|
write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandlesStreamOutput(StreamOutput out)
public HandlesStreamOutput(StreamOutput out, int identityThreshold)
Method Detail |
---|
public void writeUTF(java.lang.String s) throws java.io.IOException
StreamOutput
writeUTF
in class StreamOutput
java.io.IOException
public void writeByte(byte b) throws java.io.IOException
StreamOutput
writeByte
in class StreamOutput
java.io.IOException
public void writeBytes(byte[] b, int offset, int length) throws java.io.IOException
StreamOutput
writeBytes
in class StreamOutput
b
- the bytes to writeoffset
- the offset in the byte arraylength
- the number of bytes to write
java.io.IOException
public void cleanHandles()
public void reset() throws java.io.IOException
reset
in class StreamOutput
java.io.IOException
public void reset(StreamOutput out) throws java.io.IOException
java.io.IOException
public void flush() throws java.io.IOException
StreamOutput
flush
in interface java.io.Flushable
flush
in class StreamOutput
java.io.IOException
public void close() throws java.io.IOException
StreamOutput
close
in interface java.io.Closeable
close
in class StreamOutput
java.io.IOException
public StreamOutput wrappedOut()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |