de.lmu.ifi.dbs.elki.persistent
Interface PageFileStatistics

All Known Subinterfaces:
PageFile<P>
All Known Implementing Classes:
AbstractPageFile, AbstractStoringPageFile, LRUCache, MemoryPageFile, OnDiskArrayPageFile, PersistentPageFile

public interface PageFileStatistics

Statistics API for a Page File. See PageFileUtil for related utility functions for analysing this data!


Method Summary
 PageFileStatistics getInnerStatistics()
          Get statistics for the inner page file, if present.
 long getReadOperations()
          Returns the read I/O-Accesses of this file.
 long getWriteOperations()
          Returns the write I/O-Accesses of this file.
 void resetPageAccess()
          Resets the counters for page accesses of this file and flushes the cache.
 

Method Detail

getReadOperations

long getReadOperations()
Returns the read I/O-Accesses of this file.

Returns:
Number of physical read I/O accesses

getWriteOperations

long getWriteOperations()
Returns the write I/O-Accesses of this file.

Returns:
Number of physical write I/O accesses

resetPageAccess

void resetPageAccess()
Resets the counters for page accesses of this file and flushes the cache.


getInnerStatistics

PageFileStatistics getInnerStatistics()
Get statistics for the inner page file, if present.

Returns:
Inner page file statistics, or null.

Release 0.4.0 (2011-09-20_1324)