BlockManager Abstract Class

Definition

Line 1015 of cmsxk/FileSystem.cm

Inheritance

Member Functions

public abstract void Flush()
public abstract void FreeBlocks(INode* inode)
public Block* GetBlock(const BlockKey& key, SuperBlock* sb)
public abstract Block* GetBlock(const BlockKey& key, SuperBlock* sb, bool sleep, bool setOwner)
public abstract void GetBlockNumber(INode* inode, long offset, int& blockNumber, int& blockOffset, bool allocate)
public abstract int GetBlockNumber(INode* inode, int logicalBlockNumber) const
public abstract nothrow String<char> Name() const
public abstract nothrow void PutBlock(Block* block)
public abstract nothrow Block* ReadBlock(const BlockKey& key, SuperBlock* sb)
public abstract void WriteBlock(Block* block, SuperBlock* superBlock)

Member Function Details

Flush Member Function

public abstract void Flush()

Definition
Line 1029 of cmsxk/FileSystem.cm


FreeBlocks Member Function

public abstract void FreeBlocks(INode* inode)

Definition
Line 1026 of cmsxk/FileSystem.cm


GetBlock Member Function

public Block* GetBlock(const BlockKey& key, SuperBlock* sb)

Definition
Line 1018 of cmsxk/FileSystem.cm


GetBlock Member Function

public abstract Block* GetBlock(const BlockKey& key, SuperBlock* sb, bool sleep, bool setOwner)

Definition
Line 1022 of cmsxk/FileSystem.cm


GetBlockNumber Member Function

public abstract void GetBlockNumber(INode* inode, long offset, int& blockNumber, int& blockOffset, bool allocate)

Definition
Line 1027 of cmsxk/FileSystem.cm


GetBlockNumber Member Function

public abstract int GetBlockNumber(INode* inode, int logicalBlockNumber)

Definition
Line 1028 of cmsxk/FileSystem.cm


Name Member Function

public abstract nothrow String<char> Name()

Definition
Line 1030 of cmsxk/FileSystem.cm


PutBlock Member Function

public abstract nothrow void PutBlock(Block* block)

Definition
Line 1023 of cmsxk/FileSystem.cm


ReadBlock Member Function

public abstract nothrow Block* ReadBlock(const BlockKey& key, SuperBlock* sb)

Definition
Line 1024 of cmsxk/FileSystem.cm


WriteBlock Member Function

public abstract void WriteBlock(Block* block, SuperBlock* superBlock)

Definition
Line 1025 of cmsxk/FileSystem.cm