public void registerTypeWithKryoSerializer ( Class < ? > type , Class < ? extends Serializer < ? > > serializerClass ) { config . registerTypeWithKryoSerializer ( type , serializerClass ) ; }
Registers the given Serializer via its class as a serializer for the given type at the KryoSerializer .