public interface KryoOptimizer
KryoSerializer
. It will be called for multiple
Kryo instances since the KryoSerializer
creates an instance per
thread and pools them. This will be called as part of the creation and
initialization of a Kryo instance.Modifier and Type | Method and Description |
---|---|
void |
postRegister(com.esotericsoftware.kryo.Kryo kryo)
The implementor should provide whatever additional class specific optimizations they
would like to make.
|
void |
preRegister(com.esotericsoftware.kryo.Kryo kryo)
The implementor should provide whatever class specific optimizations they
would like to make.
|
void preRegister(com.esotericsoftware.kryo.Kryo kryo)
KryoSerializer
constructor are registered.void postRegister(com.esotericsoftware.kryo.Kryo kryo)
KryoSerializer
constructor are registered.Copyright © 2018. All rights reserved.