com.voidsearch.voidbase.storage.example
Class ExampleVoidBaseStorage

java.lang.Object
  extended by com.voidsearch.voidbase.storage.example.ExampleVoidBaseStorage
All Implemented Interfaces:
SupervisedStorage

public class ExampleVoidBaseStorage
extends java.lang.Object
implements SupervisedStorage


Constructor Summary
ExampleVoidBaseStorage()
           
 
Method Summary
 void blockOperation(StorageOperation op)
           
 void enableOperation(StorageOperation op)
           
 long getMemorySize()
           
 long getTotalQueries()
           
 void updateStats(StorageStats stats)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleVoidBaseStorage

public ExampleVoidBaseStorage()
Method Detail

blockOperation

public void blockOperation(StorageOperation op)
                    throws SupervisionException
Specified by:
blockOperation in interface SupervisedStorage
Throws:
SupervisionException

enableOperation

public void enableOperation(StorageOperation op)
                     throws SupervisionException
Specified by:
enableOperation in interface SupervisedStorage
Throws:
SupervisionException

updateStats

public void updateStats(StorageStats stats)
Specified by:
updateStats in interface SupervisedStorage

getTotalQueries

public long getTotalQueries()
Specified by:
getTotalQueries in interface SupervisedStorage

getMemorySize

public long getMemorySize()
Specified by:
getMemorySize in interface SupervisedStorage


Copyright © 2009. All Rights Reserved.