Class KryoNamespaces
- java.lang.Object
-
- org.onosproject.store.serializers.KryoNamespaces
-
public final class KryoNamespaces extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static KryoNamespace
API
WARNING: Do not change ordering of registrations! Serial IDs are automatically assigned to types registered via theKryoNamespace
API.static int
API_MAX_SIZE
KryoNamespace which can serialize API bundle classes.static KryoNamespace
BASIC
WARNING: Do not change ordering of registrations! Serial IDs are automatically assigned to types registered via theKryoNamespace
API.static int
BASIC_MAX_SIZE
static int
BEGIN_USER_CUSTOM_ID
Kryo registration Id for user custom registration.static KryoNamespace
MISC
WARNING: Do not change ordering of registrations! Serial IDs are automatically assigned to types registered via theKryoNamespace
API.static int
MISC_MAX_SIZE
KryoNamespace which can serialize ONF misc classes.
-
-
-
Field Detail
-
BASIC_MAX_SIZE
public static final int BASIC_MAX_SIZE
- See Also:
- Constant Field Values
-
BASIC
public static final KryoNamespace BASIC
WARNING: Do not change ordering of registrations! Serial IDs are automatically assigned to types registered via theKryoNamespace
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 callingKryoNamespace.Builder.nextId(int)
. If existing types need to be removed, useKryoNamespace.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 theKryoNamespace
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 callingKryoNamespace.Builder.nextId(int)
. If existing types need to be removed, useKryoNamespace.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 theKryoNamespace
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 callingKryoNamespace.Builder.nextId(int)
. If existing types need to be removed, useKryoNamespace.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
-
-