org.apache.jackrabbit.core.query.lucene
Class IOCounters
java.lang.Object
org.apache.jackrabbit.core.query.lucene.IOCounters
public class IOCounters
- extends Object
IOCounters
provides a basic mechanism to track I/O during query
execution.
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 |
IOCounters
public IOCounters()
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.