org.apache.lucene.search
Class ShardSearchingTestBase.NodeState
java.lang.Object
org.apache.lucene.search.ShardSearchingTestBase.NodeState
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- ShardSearchingTestBase
protected final class ShardSearchingTestBase.NodeState
- extends Object
- implements Closeable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dir
public final Directory dir
writer
public final IndexWriter writer
searchers
public final SearcherLifetimeManager searchers
mgr
public final SearcherManager mgr
myNodeID
public final int myNodeID
currentNodeVersions
public final long[] currentNodeVersions
ShardSearchingTestBase.NodeState
public ShardSearchingTestBase.NodeState(Random random,
int nodeID,
int numNodes)
throws IOException
- Throws:
IOException
initSearcher
public void initSearcher(long[] nodeVersions)
updateNodeVersion
public void updateNodeVersion(int nodeID,
long version)
throws IOException
- Throws:
IOException
acquire
public ShardSearchingTestBase.NodeState.ShardIndexSearcher acquire()
release
public void release(ShardSearchingTestBase.NodeState.ShardIndexSearcher s)
throws IOException
- Throws:
IOException
acquire
public ShardSearchingTestBase.NodeState.ShardIndexSearcher acquire(long[] nodeVersions)
reopen
public void reopen()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.