public class MessageKryoRegistrar extends AbstractKryoRegistrar
KRYO, logMIN_REGISTRATION_VALUE| Constructor and Description |
|---|
MessageKryoRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<com.esotericsoftware.kryo.Registration> |
getRegistrations() |
void |
registerTypes(com.esotericsoftware.kryo.Kryo kryo)
This method is invoked by the
PojoCodec and
applied to the Kryo instance whenever a new instance is created. |
void |
setAdviceMessageRegistrationId(int adviceMessageRegistrationId)
Set the registration id for
AdviceMessage. |
void |
setErrorMessageRegistrationId(int errorMessageRegistrationId)
Set the registration id for
ErrorMessage. |
void |
setGenericMessageRegistrationId(int genericMessageRegistrationId)
Set the registration id for
GenericMessage. |
void |
setHashMapRegistrationId(int hashMapRegistrationId)
Set the registration id for
HashMap. |
void |
setMessageHeadersRegistrationId(int messageHeadersRegistrationId)
Set the registration id for
MessageHeaders. |
void |
setMutableMessageHeadersRegistrationId(int mutableMessageHeadersRegistrationId)
Set the registration id for
MutableMessageHeaders. |
void |
setMutableMessageRegistrationId(int mutableMessageRegistrationId)
Set the registration id for
MutableMessage. |
void |
setUuidRegistrationId(int uuidRegistrationId)
Set the registration id for
UUID. |
public void setMessageHeadersRegistrationId(int messageHeadersRegistrationId)
MessageHeaders.messageHeadersRegistrationId - the id, default 41.public void setMutableMessageHeadersRegistrationId(int mutableMessageHeadersRegistrationId)
MutableMessageHeaders.mutableMessageHeadersRegistrationId - the id, default 42.public void setGenericMessageRegistrationId(int genericMessageRegistrationId)
GenericMessage.genericMessageRegistrationId - the id, default 43.public void setErrorMessageRegistrationId(int errorMessageRegistrationId)
ErrorMessage.errorMessageRegistrationId - the id, default 44.public void setAdviceMessageRegistrationId(int adviceMessageRegistrationId)
AdviceMessage.adviceMessageRegistrationId - the id, default 45.public void setMutableMessageRegistrationId(int mutableMessageRegistrationId)
MutableMessage.mutableMessageRegistrationId - the id, default 46.public void setHashMapRegistrationId(int hashMapRegistrationId)
HashMap.hashMapRegistrationId - the id, default 47.public void setUuidRegistrationId(int uuidRegistrationId)
UUID.uuidRegistrationId - the id, default 48.public void registerTypes(com.esotericsoftware.kryo.Kryo kryo)
KryoRegistrarPojoCodec and
applied to the Kryo instance whenever a new instance is created.registerTypes in interface KryoRegistrarregisterTypes in class AbstractKryoRegistrarkryo - the Kryo instancepublic java.util.List<com.esotericsoftware.kryo.Registration> getRegistrations()
Registration provided