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 TypeSerializer
Exception
public Object read(FastByteArrayInputStream bbis) throws Exception
read
in interface TypeSerializer
Exception
public int priority()
priority
in interface TypeSerializer
public boolean isSuitable(Object obj)
isSuitable
in interface TypeSerializer
public byte getTypeId()
getTypeId
in interface TypeSerializer
Copyright © 2013 Hazelcast, Inc.. All rights reserved.