Package org.apache.storm.serialization
Interface SerializationRegister
- All Known Implementing Classes:
ClojureSerializationRegister
public interface SerializationRegister
Provides a way using a service loader to register Kryo serializers with the SerializationFactory without needing to modify the config.
This allows for language bindings libraries or platforms to include their own registration without impacting a clients config.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(com.esotericsoftware.kryo.Kryo kryo) Register any serializers needed with the kryo instance.
-
Method Details
-
register
Register any serializers needed with the kryo instance.- Parameters:
kryo
- what to register the serializers with.- Throws:
Exception
-