public class KryoSerializer extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
KRYO_ID_OFFSET |
| Constructor and Description |
|---|
KryoSerializer(List<Class<? extends Object>> defaultRegistrations) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidClass(Class<?> type) |
Object |
readClassAndObject(ReadBuffer buffer) |
<T> T |
readObjectNotNull(ReadBuffer buffer,
Class<T> type) |
void |
writeClassAndObject(WriteBuffer out,
Object object) |
void |
writeObjectNotNull(WriteBuffer out,
Object object) |
public static final int KRYO_ID_OFFSET
public Object readClassAndObject(ReadBuffer buffer)
public <T> T readObjectNotNull(ReadBuffer buffer, Class<T> type)
public void writeObjectNotNull(WriteBuffer out, Object object)
public void writeClassAndObject(WriteBuffer out, Object object)
public static final boolean isValidClass(Class<?> type)
Copyright © 2012–2014. All rights reserved.