public class HazelcastSerializationAdapter extends Object implements SerializationAdapter<com.hazelcast.nio.ObjectDataOutput>, DeserializationAdapter<com.hazelcast.nio.ObjectDataInput>
| Constructor and Description |
|---|
HazelcastSerializationAdapter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
readBoolean(com.hazelcast.nio.ObjectDataInput source) |
byte |
readByte(com.hazelcast.nio.ObjectDataInput source) |
int |
readInt(com.hazelcast.nio.ObjectDataInput source) |
long |
readLong(com.hazelcast.nio.ObjectDataInput source) |
long[] |
readLongArray(com.hazelcast.nio.ObjectDataInput source) |
Object |
readObject(com.hazelcast.nio.ObjectDataInput source) |
<T> T |
readObject(com.hazelcast.nio.ObjectDataInput source,
Class<T> type) |
String |
readString(com.hazelcast.nio.ObjectDataInput source) |
void |
writeBoolean(com.hazelcast.nio.ObjectDataOutput target,
boolean value) |
void |
writeByte(com.hazelcast.nio.ObjectDataOutput target,
byte value) |
void |
writeInt(com.hazelcast.nio.ObjectDataOutput target,
int value) |
void |
writeLong(com.hazelcast.nio.ObjectDataOutput target,
long value) |
void |
writeLongArray(com.hazelcast.nio.ObjectDataOutput target,
long[] value) |
void |
writeObject(com.hazelcast.nio.ObjectDataOutput target,
Object value) |
void |
writeString(com.hazelcast.nio.ObjectDataOutput target,
String value) |
public boolean readBoolean(com.hazelcast.nio.ObjectDataInput source)
throws IOException
readBoolean in interface DeserializationAdapter<com.hazelcast.nio.ObjectDataInput>IOExceptionpublic byte readByte(com.hazelcast.nio.ObjectDataInput source)
throws IOException
readByte in interface DeserializationAdapter<com.hazelcast.nio.ObjectDataInput>IOExceptionpublic int readInt(com.hazelcast.nio.ObjectDataInput source)
throws IOException
readInt in interface DeserializationAdapter<com.hazelcast.nio.ObjectDataInput>IOExceptionpublic long readLong(com.hazelcast.nio.ObjectDataInput source)
throws IOException
readLong in interface DeserializationAdapter<com.hazelcast.nio.ObjectDataInput>IOExceptionpublic long[] readLongArray(com.hazelcast.nio.ObjectDataInput source)
throws IOException
readLongArray in interface DeserializationAdapter<com.hazelcast.nio.ObjectDataInput>IOExceptionpublic String readString(com.hazelcast.nio.ObjectDataInput source) throws IOException
readString in interface DeserializationAdapter<com.hazelcast.nio.ObjectDataInput>IOExceptionpublic <T> T readObject(com.hazelcast.nio.ObjectDataInput source,
Class<T> type)
throws IOException
readObject in interface DeserializationAdapter<com.hazelcast.nio.ObjectDataInput>IOExceptionpublic Object readObject(com.hazelcast.nio.ObjectDataInput source) throws IOException
readObject in interface DeserializationAdapter<com.hazelcast.nio.ObjectDataInput>IOExceptionpublic void writeBoolean(com.hazelcast.nio.ObjectDataOutput target,
boolean value)
throws IOException
writeBoolean in interface SerializationAdapter<com.hazelcast.nio.ObjectDataOutput>IOExceptionpublic void writeByte(com.hazelcast.nio.ObjectDataOutput target,
byte value)
throws IOException
writeByte in interface SerializationAdapter<com.hazelcast.nio.ObjectDataOutput>IOExceptionpublic void writeInt(com.hazelcast.nio.ObjectDataOutput target,
int value)
throws IOException
writeInt in interface SerializationAdapter<com.hazelcast.nio.ObjectDataOutput>IOExceptionpublic void writeLong(com.hazelcast.nio.ObjectDataOutput target,
long value)
throws IOException
writeLong in interface SerializationAdapter<com.hazelcast.nio.ObjectDataOutput>IOExceptionpublic void writeLongArray(com.hazelcast.nio.ObjectDataOutput target,
long[] value)
throws IOException
writeLongArray in interface SerializationAdapter<com.hazelcast.nio.ObjectDataOutput>IOExceptionpublic void writeObject(com.hazelcast.nio.ObjectDataOutput target,
Object value)
throws IOException
writeObject in interface SerializationAdapter<com.hazelcast.nio.ObjectDataOutput>IOExceptionpublic void writeString(com.hazelcast.nio.ObjectDataOutput target,
String value)
throws IOException
writeString in interface SerializationAdapter<com.hazelcast.nio.ObjectDataOutput>IOExceptionCopyright © 2021. All rights reserved.