org.apache.blur.lucene.warmup
Class IndexTracer

java.lang.Object
  extended by org.apache.blur.lucene.warmup.IndexTracer

public class IndexTracer
extends Object


Constructor Summary
IndexTracer(TraceableDirectory dir, int maxSampleSize)
           
 
Method Summary
 void initTrace(org.apache.lucene.index.SegmentReader segmentReader, String field, boolean hasPositions, boolean hasPayloads, boolean hasOffsets)
           
 IndexTracerResult runTrace(org.apache.lucene.index.Terms terms)
           
 void trace(String name, long filePointer)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexTracer

public IndexTracer(TraceableDirectory dir,
                   int maxSampleSize)
Method Detail

initTrace

public void initTrace(org.apache.lucene.index.SegmentReader segmentReader,
                      String field,
                      boolean hasPositions,
                      boolean hasPayloads,
                      boolean hasOffsets)

trace

public void trace(String name,
                  long filePointer)

runTrace

public IndexTracerResult runTrace(org.apache.lucene.index.Terms terms)
                           throws IOException
Throws:
IOException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.