Neokernel API

FileObjectStore.allocateNewBlocks Method

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.

public virtual bool allocateNewBlocks(
   int number
);

Parameters

number
The number of new blocks to allocate.

Return Value

Returns true IFF the specified number of new blocks were allocated successfully.

See Also

FileObjectStore Class | com.neokernel.om Namespace