org.apache.jackrabbit.core.query.lucene
Class IOCounters

java.lang.Object
  extended by org.apache.jackrabbit.core.query.lucene.IOCounters

public class IOCounters
extends Object

IOCounters provides a basic mechanism to track I/O during query execution.


Constructor Summary
IOCounters()
           
 
Method Summary
static long getReads()
           
static void incrRead()
          Increments the read count caused by the current thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOCounters

public IOCounters()
Method Detail

getReads

public static long getReads()
Returns:
the current read count for caused by the current thread.

incrRead

public static void incrRead()
Increments the read count caused by the current thread.



Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.