public class OptimizedObjectOutputStream extends ObjectOutputStream
ObjectOutputStream.PutFieldbaseWireHandle, PROTOCOL_VERSION_1, PROTOCOL_VERSION_2, SC_BLOCK_DATA, SC_ENUM, SC_EXTERNALIZABLE, SC_SERIALIZABLE, SC_WRITE_METHOD, STREAM_MAGIC, STREAM_VERSION, SUBCLASS_IMPLEMENTATION_PERMISSION, SUBSTITUTION_PERMISSION, TC_ARRAY, TC_BASE, TC_BLOCKDATA, TC_BLOCKDATALONG, TC_CLASS, TC_CLASSDESC, TC_ENDBLOCKDATA, TC_ENUM, TC_EXCEPTION, TC_LONGSTRING, TC_MAX, TC_NULL, TC_OBJECT, TC_PROXYCLASSDESC, TC_REFERENCE, TC_RESET, TC_STRING| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
defaultWriteObject() |
void |
drain() |
void |
flush() |
GridDataOutput |
out() |
ObjectOutputStream.PutField |
putFields() |
void |
reset() |
void |
useProtocolVersion(int ver) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
void |
writeBoolean(boolean v) |
void |
writeByte(int v) |
void |
writeBytes(String s) |
void |
writeChar(int v) |
void |
writeChars(String s) |
void |
writeDouble(double v) |
void |
writeFields() |
void |
writeFloat(float v) |
void |
writeInt(int v) |
void |
writeLong(long v) |
protected void |
writeObjectOverride(Object obj) |
void |
writeShort(int v) |
void |
writeUnshared(Object obj) |
void |
writeUTF(String s) |
annotateClass, annotateProxyClass, enableReplaceObject, replaceObject, writeClassDescriptor, writeObject, writeStreamHeaderpublic GridDataOutput out()
public void close()
throws IOException
close in interface Closeableclose in interface ObjectOutputclose in interface AutoCloseableclose in class ObjectOutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in class ObjectOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in class ObjectOutputStreamIOExceptionprotected void writeObjectOverride(Object obj) throws IOException
writeObjectOverride in class ObjectOutputStreamIOExceptionpublic void writeBoolean(boolean v)
throws IOException
writeBoolean in interface DataOutputwriteBoolean in class ObjectOutputStreamIOExceptionpublic void writeByte(int v)
throws IOException
writeByte in interface DataOutputwriteByte in class ObjectOutputStreamIOExceptionpublic void writeShort(int v)
throws IOException
writeShort in interface DataOutputwriteShort in class ObjectOutputStreamIOExceptionpublic void writeChar(int v)
throws IOException
writeChar in interface DataOutputwriteChar in class ObjectOutputStreamIOExceptionpublic void writeInt(int v)
throws IOException
writeInt in interface DataOutputwriteInt in class ObjectOutputStreamIOExceptionpublic void writeLong(long v)
throws IOException
writeLong in interface DataOutputwriteLong in class ObjectOutputStreamIOExceptionpublic void writeFloat(float v)
throws IOException
writeFloat in interface DataOutputwriteFloat in class ObjectOutputStreamIOExceptionpublic void writeDouble(double v)
throws IOException
writeDouble in interface DataOutputwriteDouble in class ObjectOutputStreamIOExceptionpublic void write(int b)
throws IOException
write in interface DataOutputwrite in interface ObjectOutputwrite in class ObjectOutputStreamIOExceptionpublic void writeBytes(String s) throws IOException
writeBytes in interface DataOutputwriteBytes in class ObjectOutputStreamIOExceptionpublic void writeChars(String s) throws IOException
writeChars in interface DataOutputwriteChars in class ObjectOutputStreamIOExceptionpublic void writeUTF(String s) throws IOException
writeUTF in interface DataOutputwriteUTF in class ObjectOutputStreamIOExceptionpublic void useProtocolVersion(int ver)
throws IOException
useProtocolVersion in class ObjectOutputStreamIOExceptionpublic void writeUnshared(Object obj) throws IOException
writeUnshared in class ObjectOutputStreamIOExceptionpublic void defaultWriteObject()
throws IOException
defaultWriteObject in class ObjectOutputStreamIOExceptionpublic ObjectOutputStream.PutField putFields() throws IOException
putFields in class ObjectOutputStreamIOExceptionpublic void writeFields()
throws IOException
writeFields in class ObjectOutputStreamIOExceptionpublic void reset()
throws IOException
reset in class ObjectOutputStreamIOExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in interface ObjectOutputflush in class ObjectOutputStreamIOExceptionpublic void drain()
throws IOException
drain in class ObjectOutputStreamIOException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020