org.processmining.framework.log.rfb.io.monitor
Class BlockDataStorageInfo

java.lang.Object
  extended by org.processmining.framework.log.rfb.io.monitor.BlockDataStorageInfo

public class BlockDataStorageInfo
extends java.lang.Object

Stores information about the internal state of one block data storage instance.

Author:
Christian W. Guenther (christian@deckfour.org)

Field Summary
protected  int[] blockFillSizes
           
protected  int blockSize
           
protected  java.io.File file
           
protected  int numberOfBlocks
           
protected  int partitionLevel
           
 
Constructor Summary
BlockDataStorageInfo(java.io.File aFile, int aPartitionLevel, int aNumberOfBlocks, int aBlockSize, int[] aBlockFillSizes)
           
 
Method Summary
 float getBlockFillRatio(int index)
           
 int getBlockFillSize(int index)
           
 int[] getBlockFillSizes()
           
 int getBlockSize()
           
 java.io.File getFile()
           
 int getNumberOfBlocks()
           
 int getNumberOfFreeBlocks()
           
 int getPartitionLevel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

protected java.io.File file

partitionLevel

protected int partitionLevel

numberOfBlocks

protected int numberOfBlocks

blockSize

protected int blockSize

blockFillSizes

protected int[] blockFillSizes
Constructor Detail

BlockDataStorageInfo

public BlockDataStorageInfo(java.io.File aFile,
                            int aPartitionLevel,
                            int aNumberOfBlocks,
                            int aBlockSize,
                            int[] aBlockFillSizes)
Method Detail

getFile

public java.io.File getFile()

getPartitionLevel

public int getPartitionLevel()

getNumberOfBlocks

public int getNumberOfBlocks()

getBlockSize

public int getBlockSize()

getBlockFillSize

public int getBlockFillSize(int index)

getBlockFillRatio

public float getBlockFillRatio(int index)

getBlockFillSizes

public int[] getBlockFillSizes()

getNumberOfFreeBlocks

public int getNumberOfFreeBlocks()