Neokernel API

FileObjectStore Methods

The methods of the FileObjectStore class are listed below. For a complete list of FileObjectStore class members, see the FileObjectStore Members topic.

Public Static Methods

FileCanWrite

Public Instance Methods

allocateNewBlocks This method allocates new blocks at the end of the store file. These blocks will have been formatted and are stored in the freeBlocks Queue.
dispose This method removes this file from the filesystem and frees resources that it was using.
Equals Overrides Object.equals(Object). Makes the Store File (System.IO.FileInfo) object an equivalence relation.
getBlock This method retrieves the previously allocated FileObjectBlock with the index given.
GetHashCode Overrides Object.hashCode(). Uses the System.IO.FileInfo as the hashCode.
GetType (inherited from Object) 
ToString (inherited from Object) 

Protected Instance Methods

debug
errorOverloaded.
Finalize (inherited from Object) 
initBlocks This method attempts to initialize all the blocks stored in the file. Here is where the chains are rebuilt. This method calls FileObjectBlock.updateFromFile().
MemberwiseClone (inherited from Object) 
print
readBytes This method reads a byte array from the file at the positions given as the parameters.
readInt This method reads an int at the position in the file given as the parameter.
readLong This method reads a long at the position in the file given as the parameter.
writeBytes This method writes a byte array to the file starting at the position given by the parameter.
writeInt This method writes an int at the position in the file given as the parameter.
writeLong This method writes a long at the position in the file given as the parameter.

See Also

FileObjectStore Class | com.neokernel.om Namespace | FileObjectBlock