public interface PortableContext
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_CLASS_OFFSET |
static int |
HEADER_ENTRY_LENGTH |
static int |
HEADER_FACTORY_OFFSET |
static int |
HEADER_VERSION_OFFSET |
Modifier and Type | Method and Description |
---|---|
ClassDefinition |
createClassDefinition(int factoryId,
byte[] binary) |
ByteOrder |
getByteOrder() |
ClassDefinition[] |
getClassDefinitions(Data data) |
int |
getClassVersion(int factoryId,
int classId) |
FieldDefinition |
getFieldDefinition(ClassDefinition cd,
String name) |
ManagedContext |
getManagedContext() |
int |
getVersion() |
boolean |
hasClassDefinition(Data data) |
ClassDefinition |
lookupClassDefinition(Data data) |
ClassDefinition |
lookupClassDefinition(int factoryId,
int classId,
int version) |
ClassDefinition |
lookupOrRegisterClassDefinition(Portable portable) |
ClassDefinition |
registerClassDefinition(ClassDefinition cd) |
void |
setClassVersion(int factoryId,
int classId,
int version) |
static final int HEADER_ENTRY_LENGTH
static final int HEADER_FACTORY_OFFSET
static final int HEADER_CLASS_OFFSET
static final int HEADER_VERSION_OFFSET
int getVersion()
int getClassVersion(int factoryId, int classId)
void setClassVersion(int factoryId, int classId, int version)
ClassDefinition lookupClassDefinition(int factoryId, int classId, int version)
ClassDefinition lookupClassDefinition(Data data)
boolean hasClassDefinition(Data data)
ClassDefinition[] getClassDefinitions(Data data)
ClassDefinition createClassDefinition(int factoryId, byte[] binary) throws IOException
IOException
ClassDefinition registerClassDefinition(ClassDefinition cd)
ClassDefinition lookupOrRegisterClassDefinition(Portable portable) throws IOException
IOException
FieldDefinition getFieldDefinition(ClassDefinition cd, String name)
ManagedContext getManagedContext()
ByteOrder getByteOrder()
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.