public static class Serializer.DataSerializer extends Object implements TypeSerializer<DataSerializable>
Constructor and Description |
---|
Serializer.DataSerializer() |
Modifier and Type | Method and Description |
---|---|
byte |
getTypeId() |
boolean |
isSuitable(Object obj) |
protected Class |
loadClass(String className) |
int |
priority() |
DataSerializable |
read(FastByteArrayInputStream bbis) |
protected String |
toClassName(Object obj) |
void |
write(FastByteArrayOutputStream bbos,
DataSerializable obj) |
public final int priority()
priority
in interface TypeSerializer<DataSerializable>
public final boolean isSuitable(Object obj)
isSuitable
in interface TypeSerializer<DataSerializable>
public final byte getTypeId()
getTypeId
in interface TypeSerializer<DataSerializable>
protected Class loadClass(String className) throws ClassNotFoundException
ClassNotFoundException
protected String toClassName(Object obj) throws ClassNotFoundException
ClassNotFoundException
public final DataSerializable read(FastByteArrayInputStream bbis) throws Exception
read
in interface TypeSerializer<DataSerializable>
Exception
public final void write(FastByteArrayOutputStream bbos, DataSerializable obj) throws Exception
write
in interface TypeSerializer<DataSerializable>
Exception
Copyright © 2013 Hazelcast, Inc.. All rights reserved.