|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.OutputStream
org.elasticsearch.util.io.stream.StreamOutput
org.elasticsearch.util.io.stream.HandlesStreamOutput
public class HandlesStreamOutput
| Constructor Summary | |
|---|---|
HandlesStreamOutput(StreamOutput out)
|
|
HandlesStreamOutput(StreamOutput out,
int identityThreshold)
|
|
| Method Summary | |
|---|---|
void |
close()
Closes this stream to further operations. |
void |
flush()
Forces any buffered output to be written. |
void |
reset()
|
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.util.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 StreamOutputjava.io.IOException
public void writeByte(byte b)
throws java.io.IOException
StreamOutput
writeByte in class StreamOutputjava.io.IOException
public void writeBytes(byte[] b,
int offset,
int length)
throws java.io.IOException
StreamOutput
writeBytes in class StreamOutputb - the bytes to writeoffset - the offset in the byte arraylength - the number of bytes to write
java.io.IOException
public void reset()
throws java.io.IOException
reset in class StreamOutputjava.io.IOException
public void flush()
throws java.io.IOException
StreamOutput
flush in interface java.io.Flushableflush in class StreamOutputjava.io.IOException
public void close()
throws java.io.IOException
StreamOutput
close in interface java.io.Closeableclose in class StreamOutputjava.io.IOExceptionpublic StreamOutput wrappedOut()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||