public final class FSTObjectRegistry extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
OBJ_DIVISOR |
| Constructor and Description |
|---|
FSTObjectRegistry(FSTConfiguration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearForRead() |
void |
clearForWrite() |
void |
clearFully() |
int |
getObjectSize() |
Object |
getReadRegisteredObject(int handle) |
void |
registerObjectForRead(Object o,
int streamPosition) |
int |
registerObjectForWrite(Object o,
boolean dontCheckEqual,
int streamPosition,
FSTClazzInfo clzInfo,
int[] reUseType)
add an object to the register, return handle if already present.
|
void |
replace(Object old,
Object replaced,
int streamPos) |
public static final int OBJ_DIVISOR
public FSTObjectRegistry(FSTConfiguration conf)
public void clearFully()
public void clearForRead()
public void clearForWrite()
public Object getReadRegisteredObject(int handle)
public void registerObjectForRead(Object o, int streamPosition)
public int registerObjectForWrite(Object o, boolean dontCheckEqual, int streamPosition, FSTClazzInfo clzInfo, int[] reUseType)
o - streamPosition - public int getObjectSize()
Copyright © 2014. All rights reserved.