Class ShardSearchingTestBase.NodeState
Inheritance
System.Object
ShardSearchingTestBase.NodeState
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
|
System.Random |
random |
|
System.Int32 |
nodeID |
|
System.Int32 |
numNodes |
|
Properties
|
Improve this Doc
View Source
Dir
Declaration
public Directory Dir { get; }
Property Value
Type |
Description |
Lucene.Net.Store.Directory |
|
|
Improve this Doc
View Source
Mgr
Declaration
public SearcherManager Mgr { get; }
Property Value
Type |
Description |
Lucene.Net.Search.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 |
Lucene.Net.Search.SearcherLifetimeManager |
|
|
Improve this Doc
View Source
Writer
Declaration
public IndexWriter Writer { get; }
Property Value
Type |
Description |
Lucene.Net.Index.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 static 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 |
|
Implements
System.IDisposable