|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjdbm.recman.RecordHeader
The data that comes at the start of a record of data. It stores both the current size and the avaliable size for the record - the latter can be bigger than the former, which allows the record to grow without needing to be moved and which allows the system to put small records in larger free spots.
Field Summary | |
(package private) static int |
SIZE
|
Constructor Summary | |
(package private) |
RecordHeader(BlockIo block,
short pos)
Constructs a record header from the indicated data starting at the indicated position. |
Method Summary | |
(package private) int |
getAvailableSize()
Returns the available size |
(package private) int |
getCurrentSize()
Returns the current size |
(package private) void |
setAvailableSize(int value)
Sets the available size |
(package private) void |
setCurrentSize(int value)
Sets the current size |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
static final int SIZE
Constructor Detail |
RecordHeader(BlockIo block, short pos)
Method Detail |
int getCurrentSize()
void setCurrentSize(int value)
int getAvailableSize()
void setAvailableSize(int value)
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |