Class KryoNamespaces


  • public final class KryoNamespaces
    extends Object
    • Field Detail

      • BASIC

        public static final KryoNamespace BASIC
        WARNING: Do not change ordering of registrations! Serial IDs are automatically assigned to types registered via the KryoNamespace API. ISSU depends on consistent type IDs for registered serializers across versions. New types must be appended to the registration chain unless an explicit type ID is assigned by calling KryoNamespace.Builder.nextId(int). If existing types need to be removed, use KryoNamespace.Builder.nextId(int) to preserve a consistent ordering of type IDs.
      • MISC_MAX_SIZE

        public static final int MISC_MAX_SIZE
        KryoNamespace which can serialize ONF misc classes.
        See Also:
        Constant Field Values
      • MISC

        public static final KryoNamespace MISC
        WARNING: Do not change ordering of registrations! Serial IDs are automatically assigned to types registered via the KryoNamespace API. ISSU depends on consistent type IDs for registered serializers across versions. New types must be appended to the registration chain unless an explicit type ID is assigned by calling KryoNamespace.Builder.nextId(int). If existing types need to be removed, use KryoNamespace.Builder.nextId(int) to preserve a consistent ordering of type IDs.
      • API_MAX_SIZE

        public static final int API_MAX_SIZE
        KryoNamespace which can serialize API bundle classes.
        See Also:
        Constant Field Values
      • API

        public static final KryoNamespace API
        WARNING: Do not change ordering of registrations! Serial IDs are automatically assigned to types registered via the KryoNamespace API. ISSU depends on consistent type IDs for registered serializers across versions. New types must be appended to the registration chain unless an explicit type ID is assigned by calling KryoNamespace.Builder.nextId(int). If existing types need to be removed, use KryoNamespace.Builder.nextId(int) to preserve a consistent ordering of type IDs.
      • BEGIN_USER_CUSTOM_ID

        public static final int BEGIN_USER_CUSTOM_ID
        Kryo registration Id for user custom registration.
        See Also:
        Constant Field Values