de.lmu.ifi.dbs.elki.persistent
Class PageFileUtil

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.persistent.PageFileUtil

public final class PageFileUtil
extends Object

Page file statistic utility functions.


Constructor Summary
PageFileUtil()
           
 
Method Summary
static void appendPageFileStatistics(StringBuffer buffer, PageFileStatistics statistics)
          Append the page file statistics to the output buffer.
static long getLogicalReadOperations(PageFileStatistics statistics)
          Get the number of (logical) read operations (without caching).
static long getLogicalWriteOperations(PageFileStatistics statistics)
          Get the number of (logical) write operations (without caching).
static long getPhysicalReadOperations(PageFileStatistics statistics)
          Get the number of (physical) read operations (with caching).
static long getPhysicalWriteOperations(PageFileStatistics statistics)
          Get the number of (physical) write operations (with caching).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageFileUtil

public PageFileUtil()
Method Detail

appendPageFileStatistics

public static void appendPageFileStatistics(StringBuffer buffer,
                                            PageFileStatistics statistics)
Append the page file statistics to the output buffer.

Parameters:
buffer - Buffer to append to

getLogicalReadOperations

public static long getLogicalReadOperations(PageFileStatistics statistics)
Get the number of (logical) read operations (without caching).

Parameters:
statistics - Statistics.
Returns:
logical read operations.

getLogicalWriteOperations

public static long getLogicalWriteOperations(PageFileStatistics statistics)
Get the number of (logical) write operations (without caching).

Parameters:
statistics - Statistics.
Returns:
logical write operations.

getPhysicalReadOperations

public static long getPhysicalReadOperations(PageFileStatistics statistics)
Get the number of (physical) read operations (with caching).

Parameters:
statistics - Statistics.
Returns:
physical read operations.

getPhysicalWriteOperations

public static long getPhysicalWriteOperations(PageFileStatistics statistics)
Get the number of (physical) write operations (with caching).

Parameters:
statistics - Statistics.
Returns:
physical write operations.

Release 0.4.0 (2011-09-20_1324)