Class OpenReaderTask
Open an index reader.
Other side effects: index reader object in perfRunData is set.
Optional params commitUserData eg. OpenReader(false,commit1)
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)
    
  Namespace: Lucene.Net.Benchmarks.ByTask.Tasks
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class OpenReaderTask : PerfTask, IDisposable
  Constructors
| Improve this Doc View SourceOpenReaderTask(PerfRunData)
Declaration
public OpenReaderTask(PerfRunData runData)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PerfRunData | runData | 
Fields
| Improve this Doc View SourceUSER_DATA
Declaration
public static readonly string USER_DATA
  Field Value
| Type | Description | 
|---|---|
| System.String | 
Properties
| Improve this Doc View SourceSupportsParams
Declaration
public override bool SupportsParams { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
Methods
| Improve this Doc View SourceDoLogic()
Declaration
public override int DoLogic()
  Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
| Improve this Doc View SourceFindIndexCommit(Directory, String)
Declaration
public static IndexCommit FindIndexCommit(Directory dir, string userData)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Directory | dir | |
| System.String | userData | 
Returns
| Type | Description | 
|---|---|
| IndexCommit | 
SetParams(String)
Declaration
public override void SetParams(string params)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | params | 
Overrides
Implements
      System.IDisposable