Package com.db4o.internal.fileheader
Class FileHeaderVariablePart2
- java.lang.Object
-
- com.db4o.internal.fileheader.FileHeaderVariablePart
-
- com.db4o.internal.fileheader.FileHeaderVariablePart2
-
- Direct Known Subclasses:
FileHeaderVariablePart3
public class FileHeaderVariablePart2 extends FileHeaderVariablePart
-
-
Field Summary
-
Fields inherited from class com.db4o.internal.fileheader.FileHeaderVariablePart
_container
-
-
Constructor Summary
Constructors Constructor Description FileHeaderVariablePart2(LocalObjectContainer container)
FileHeaderVariablePart2(LocalObjectContainer container, int address, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
address()
java.lang.Runnable
commit(boolean shuttingDown)
int
length()
int
marshalledLength()
int
ownLength()
void
read(int address, int length)
protected void
readBuffer(ByteArrayBuffer buffer, boolean versionsAreConsistent)
protected void
writeBuffer(ByteArrayBuffer buffer, boolean shuttingDown)
-
Methods inherited from class com.db4o.internal.fileheader.FileHeaderVariablePart
allocateSlot, getIdentifier, readIdentity, systemData
-
-
-
-
Constructor Detail
-
FileHeaderVariablePart2
public FileHeaderVariablePart2(LocalObjectContainer container, int address, int length)
-
FileHeaderVariablePart2
public FileHeaderVariablePart2(LocalObjectContainer container)
-
-
Method Detail
-
commit
public java.lang.Runnable commit(boolean shuttingDown)
- Specified by:
commit
in classFileHeaderVariablePart
-
ownLength
public int ownLength()
-
address
public int address()
-
length
public int length()
-
read
public void read(int address, int length)
- Specified by:
read
in classFileHeaderVariablePart
-
readBuffer
protected void readBuffer(ByteArrayBuffer buffer, boolean versionsAreConsistent)
-
writeBuffer
protected void writeBuffer(ByteArrayBuffer buffer, boolean shuttingDown)
-
marshalledLength
public int marshalledLength()
- Specified by:
marshalledLength
in classFileHeaderVariablePart
-
-