Package com.twitter.chill.java
Class IterableRegistrar
java.lang.Object
com.twitter.chill.java.IterableRegistrar
- All Implemented Interfaces:
IKryoRegistrar,Serializable
A Registrar adds registrations to a given Kryo instance.
Examples would be a registrar that registers serializers
for all objects in a given package.
comes from Storm, which took it from cascading.kryo
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIterableRegistrar(IKryoRegistrar... registrars) IterableRegistrar(Iterable<? extends IKryoRegistrar> registrars) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(com.esotericsoftware.kryo.kryo5.Kryo k) Iterable<? extends IKryoRegistrar>
-
Constructor Details
-
IterableRegistrar
-
IterableRegistrar
-
-
Method Details
-
apply
public void apply(com.esotericsoftware.kryo.kryo5.Kryo k) - Specified by:
applyin interfaceIKryoRegistrar
-
getRegistrars
-