public final class KryoNamespaces extends Object
Modifier and Type | Field and Description |
---|---|
static KryoNamespace |
API
WARNING: Do not change ordering of registrations!
Serial IDs are automatically assigned to types registered via the
KryoNamespace 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 the
KryoNamespace 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 the
KryoNamespace API. |
static int |
MISC_MAX_SIZE
KryoNamespace which can serialize ONF misc classes.
|
public static final int BASIC_MAX_SIZE
public static final KryoNamespace BASIC
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.public static final int MISC_MAX_SIZE
public static final KryoNamespace MISC
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.public static final int API_MAX_SIZE
public static final KryoNamespace API
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.public static final int BEGIN_USER_CUSTOM_ID