Class ReflectingInstantiator

java.lang.Object
com.twitter.chill.KryoInstantiator
com.twitter.chill.config.ReflectingInstantiator
All Implemented Interfaces:
Serializable

public class ReflectingInstantiator extends KryoInstantiator
See Also:
  • Field Details

    • prefix

      public static final String prefix
      All keys are prefixed with this string
      See Also:
    • KRYO_CLASS

      public static final String KRYO_CLASS
      Name of the subclass of kryo to instantiate to start with. If this is empty, we use Kryo.class
      See Also:
    • KRYO_CLASS_DEFAULT

      public static final String KRYO_CLASS_DEFAULT
    • INSTANTIATOR_STRATEGY_CLASS

      public static final String INSTANTIATOR_STRATEGY_CLASS
      Name of the InstatiatorStrategy to use. If this is empty, we use org.objenesis.strategy.StdInstantiatorStrategy
      See Also:
    • INSTANTIATOR_STRATEGY_CLASS_DEFAULT

      public static final String INSTANTIATOR_STRATEGY_CLASS_DEFAULT
    • REGISTRATIONS

      public static final String REGISTRATIONS
      KRYO_REGISTRATIONS holds a colon-separated list of classes to register with Kryo. For example, the following value: "someClass,someSerializer:otherClass:thirdClass,thirdSerializer" will direct KryoFactory to register someClass and thirdClass with custom serializers and otherClass with Kryo's FieldsSerializer.
      See Also:
    • DEFAULT_REGISTRATIONS

      public static final String DEFAULT_REGISTRATIONS
      DEFAULT_REGISTRATIONS holds a colon-separated list of classes or interfaces to register with Kryo. Default Registrations are searched after basic registrations, and have the ability to capture objects that are assignable from the hierarchy's superclass. For example, the following value: "someClass,someSerializer:someInterface,otherSerializer" will configure to serializeobjects that extend from someClass with someSerializer, and objects that extend someInterface with otherSerializer.
      See Also:
    • SKIP_MISSING

      public static final String SKIP_MISSING
      If SKIP_MISSING is set to false, Kryo will throw an error when Cascading tries to register a class or serialization that doesn't exist.
      See Also:
    • SKIP_MISSING_DEFAULT

      public static final boolean SKIP_MISSING_DEFAULT
      See Also:
    • REGISTRATION_REQUIRED

      public static final String REGISTRATION_REQUIRED
      If REGISTRATION_REQUIRED is set to false, Kryo will try to serialize all java objects, not just those with custom serializations registered.
      See Also:
    • REGISTRATION_REQUIRED_DEFAULT

      public static final boolean REGISTRATION_REQUIRED_DEFAULT
      See Also:
  • Constructor Details

  • Method Details