Class ShardSearchingTestBase.NodeState
Inheritance
System.Object
ShardSearchingTestBase.NodeState
Assembly: Lucene.Net.TestFramework.dll
Syntax
protected sealed class NodeState : IDisposable
Constructors
|
Improve this Doc
View Source
NodeState(ShardSearchingTestBase, Random, Int32, Int32)
Declaration
public NodeState(ShardSearchingTestBase shardSearchingTestBase, Random random, int nodeID, int numNodes)
Parameters
Type |
Name |
Description |
ShardSearchingTestBase |
shardSearchingTestBase |
|
Random |
random |
|
System.Int32 |
nodeID |
|
System.Int32 |
numNodes |
|
Properties
|
Improve this Doc
View Source
Dir
Declaration
public Directory Dir { get; }
Property Value
Type |
Description |
Directory |
|
|
Improve this Doc
View Source
Mgr
Declaration
public SearcherManager Mgr { get; }
Property Value
Type |
Description |
SearcherManager |
|
|
Improve this Doc
View Source
MyNodeID
Declaration
public int MyNodeID { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Searchers
Declaration
public SearcherLifetimeManager Searchers { get; }
Property Value
Type |
Description |
SearcherLifetimeManager |
|
|
Improve this Doc
View Source
Writer
Declaration
public IndexWriter Writer { get; }
Property Value
Type |
Description |
IndexWriter |
|
Methods
|
Improve this Doc
View Source
Acquire()
Declaration
public ShardSearchingTestBase.NodeState.ShardIndexSearcher Acquire()
Returns
|
Improve this Doc
View Source
Acquire(Int64[])
Declaration
public ShardSearchingTestBase.NodeState.ShardIndexSearcher Acquire(long[] nodeVersions)
Parameters
Type |
Name |
Description |
System.Int64[] |
nodeVersions |
|
Returns
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
GetCurrentNodeVersions()
Declaration
public long[] GetCurrentNodeVersions()
Returns
Type |
Description |
System.Int64[] |
|
|
Improve this Doc
View Source
InitSearcher(Int64[])
Declaration
public void InitSearcher(long[] nodeVersions)
Parameters
Type |
Name |
Description |
System.Int64[] |
nodeVersions |
|
|
Improve this Doc
View Source
Release(ShardSearchingTestBase.NodeState.ShardIndexSearcher)
Declaration
public void Release(ShardSearchingTestBase.NodeState.ShardIndexSearcher s)
Parameters
|
Improve this Doc
View Source
Reopen()
Declaration
|
Improve this Doc
View Source
UpdateNodeVersion(Int32, Int64)
Declaration
public void UpdateNodeVersion(int nodeID, long version)
Parameters
Type |
Name |
Description |
System.Int32 |
nodeID |
|
System.Int64 |
version |
|