it.eng.qbe.utility
Class SimpleSpaceChecker

java.lang.Object
  extended by it.eng.qbe.utility.SimpleSpaceChecker
All Implemented Interfaces:
IDBSpaceChecker

public class SimpleSpaceChecker
extends java.lang.Object
implements IDBSpaceChecker


Constructor Summary
SimpleSpaceChecker()
           
 
Method Summary
 int getPercentageOfFreeSpace(java.sql.Connection aConnection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSpaceChecker

public SimpleSpaceChecker()
Method Detail

getPercentageOfFreeSpace

public int getPercentageOfFreeSpace(java.sql.Connection aConnection)
Specified by:
getPercentageOfFreeSpace in interface IDBSpaceChecker
Parameters:
aConnection - - The sql connection provide by qbe, pay attention this class must keep the connection open
Returns:
a numeber representing the available space for the given connection in db