Class ShardSearchingTestBase.NodeState
Inheritance
ShardSearchingTestBase.NodeState
Assembly: Lucene.Net.TestFramework.dll
Syntax
protected sealed class ShardSearchingTestBase.NodeState : IDisposable
Constructors
NodeState(ShardSearchingTestBase, Random, int, int)
Declaration
public NodeState(ShardSearchingTestBase shardSearchingTestBase, Random random, int nodeID, int numNodes)
Parameters
Properties
Dir
Declaration
public Directory Dir { get; }
Property Value
Type |
Description |
Directory |
|
Mgr
Declaration
public SearcherManager Mgr { get; }
Property Value
Type |
Description |
SearcherManager |
|
MyNodeID
Declaration
public int MyNodeID { get; }
Property Value
Searchers
Declaration
public SearcherLifetimeManager Searchers { get; }
Property Value
Type |
Description |
SearcherLifetimeManager |
|
Writer
Declaration
public IndexWriter Writer { get; }
Property Value
Type |
Description |
IndexWriter |
|
Methods
Acquire()
Declaration
public ShardSearchingTestBase.NodeState.ShardIndexSearcher Acquire()
Returns
Acquire(long[])
Declaration
public ShardSearchingTestBase.NodeState.ShardIndexSearcher Acquire(long[] nodeVersions)
Parameters
Type |
Name |
Description |
long[] |
nodeVersions |
|
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
GetCurrentNodeVersions()
Declaration
public long[] GetCurrentNodeVersions()
Returns
InitSearcher(long[])
Declaration
public void InitSearcher(long[] nodeVersions)
Parameters
Type |
Name |
Description |
long[] |
nodeVersions |
|
Release(ShardIndexSearcher)
Declaration
public static void Release(ShardSearchingTestBase.NodeState.ShardIndexSearcher s)
Parameters
Reopen()
Declaration
UpdateNodeVersion(int, long)
Declaration
public void UpdateNodeVersion(int nodeID, long version)
Parameters
Type |
Name |
Description |
int |
nodeID |
|
long |
version |
|
Implements