com.hazelcast.nio.serialization
Interface PortableContext
public interface PortableContext
HEADER_ENTRY_LENGTH
static final int HEADER_ENTRY_LENGTH
- See Also:
- Constant Field Values
HEADER_FACTORY_OFFSET
static final int HEADER_FACTORY_OFFSET
- See Also:
- Constant Field Values
HEADER_CLASS_OFFSET
static final int HEADER_CLASS_OFFSET
- See Also:
- Constant Field Values
HEADER_VERSION_OFFSET
static final int HEADER_VERSION_OFFSET
- See Also:
- Constant Field Values
getVersion
int getVersion()
getClassVersion
int getClassVersion(int factoryId,
int classId)
setClassVersion
void setClassVersion(int factoryId,
int classId,
int version)
lookupClassDefinition
ClassDefinition lookupClassDefinition(int factoryId,
int classId,
int version)
lookupClassDefinition
ClassDefinition lookupClassDefinition(Data data)
hasClassDefinition
boolean hasClassDefinition(Data data)
getClassDefinitions
ClassDefinition[] getClassDefinitions(Data data)
createClassDefinition
ClassDefinition createClassDefinition(int factoryId,
byte[] binary)
throws IOException
- Throws:
IOException
registerClassDefinition
ClassDefinition registerClassDefinition(ClassDefinition cd)
lookupOrRegisterClassDefinition
ClassDefinition lookupOrRegisterClassDefinition(Portable portable)
throws IOException
- Throws:
IOException
getFieldDefinition
FieldDefinition getFieldDefinition(ClassDefinition cd,
String name)
getManagedContext
ManagedContext getManagedContext()
getByteOrder
ByteOrder getByteOrder()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.