public class CustomSerializerAdapter extends Object implements TypeSerializer
| Constructor and Description |
|---|
CustomSerializerAdapter(CustomSerializer customSerializer) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getTypeId() |
boolean |
isSuitable(Object obj) |
int |
priority() |
Object |
read(FastByteArrayInputStream bbis) |
void |
write(FastByteArrayOutputStream bbos,
Object obj) |
public CustomSerializerAdapter(CustomSerializer customSerializer)
public void write(FastByteArrayOutputStream bbos, Object obj) throws Exception
write in interface TypeSerializerExceptionpublic Object read(FastByteArrayInputStream bbis) throws Exception
read in interface TypeSerializerExceptionpublic int priority()
priority in interface TypeSerializerpublic boolean isSuitable(Object obj)
isSuitable in interface TypeSerializerpublic byte getTypeId()
getTypeId in interface TypeSerializerCopyright © 2013 Hazelcast, Inc.. All rights reserved.