Class KryoNamespaces
- java.lang.Object
-
- org.onosproject.store.serializers.KryoNamespaces
-
public final class KryoNamespaces extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static KryoNamespaceAPIWARNING: Do not change ordering of registrations! Serial IDs are automatically assigned to types registered via theKryoNamespaceAPI.static intAPI_MAX_SIZEKryoNamespace which can serialize API bundle classes.static KryoNamespaceBASICWARNING: Do not change ordering of registrations! Serial IDs are automatically assigned to types registered via theKryoNamespaceAPI.static intBASIC_MAX_SIZEstatic intBEGIN_USER_CUSTOM_IDKryo registration Id for user custom registration.static KryoNamespaceMISCWARNING: Do not change ordering of registrations! Serial IDs are automatically assigned to types registered via theKryoNamespaceAPI.static intMISC_MAX_SIZEKryoNamespace 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 theKryoNamespaceAPI. 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 theKryoNamespaceAPI. 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 theKryoNamespaceAPI. 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
-
-