public class GryoRegistrator extends Object
Constructor and Description |
---|
GryoRegistrator() |
Modifier and Type | Method and Description |
---|---|
void |
registerClasses(Kryo kryo) |
void |
registerClasses(Kryo kryo,
Map<Class<?>,<any>> serializerOverrides,
Set<Class<?>> blacklist)
Register TinkerPop's classes with the supplied
Kryo instance
while honoring optional overrides and optional class blacklist ("blackset"?). |
public void registerClasses(Kryo kryo)
public void registerClasses(Kryo kryo, Map<Class<?>,<any>> serializerOverrides, Set<Class<?>> blacklist)
Kryo
instance
while honoring optional overrides and optional class blacklist ("blackset"?).kryo
- the Kryo serializer instance with which to register typesserializerOverrides
- serializer mappings that override this class's defaultsblacklist
- classes which should not be registered at all, even if there is an override entry
or if they would be registered by this class by default (does not affect Kryo's
built-in registrations, e.g. String.class).Copyright © 2013–2016 Apache Software Foundation. All rights reserved.