• API

    Show / Hide Table of Contents

    Class NewLocaleTask

    Set a System.Globalization.CultureInfo for use in benchmarking.

    Inheritance
    System.Object
    PerfTask
    NewLocaleTask
    Implements
    System.IDisposable
    Inherited Members
    PerfTask.m_logStep
    PerfTask.m_params
    PerfTask.NEW_LINE
    PerfTask.SetRunInBackground(Int32)
    PerfTask.RunInBackground
    PerfTask.BackgroundDeltaPriority
    PerfTask.Stop
    PerfTask.StopNow()
    PerfTask.Clone()
    PerfTask.Dispose()
    PerfTask.Dispose(Boolean)
    PerfTask.RunAndMaybeStats(Boolean)
    PerfTask.GetName()
    PerfTask.SetName(String)
    PerfTask.RunData
    PerfTask.Depth
    PerfTask.ToString()
    PerfTask.GetLogMessage(Int32)
    PerfTask.ShouldNeverLogAtStart
    PerfTask.ShouldNotRecordStats
    PerfTask.Setup()
    PerfTask.TearDown()
    PerfTask.Params
    PerfTask.DisableCounting
    PerfTask.AlgLineNum
    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 NewLocaleTask : PerfTask, IDisposable
    Remarks

    Locales can be specified in the following ways:

    • de: Language "de"
    • en,US
      : Language "en", country "US"
    • nb-NO
      : Language "nb" (Bokmål), country "NO"
    • ROOT
      : The System.Globalization.CultureInfo.InvariantCulture

    Constructors

    | Improve this Doc View Source

    NewLocaleTask(PerfRunData)

    Create a new System.Globalization.CultureInfo and set it it in the RunData for use by all future tasks.

    Declaration
    public NewLocaleTask(PerfRunData runData)
    Parameters
    Type Name Description
    PerfRunData runData

    Properties

    | Improve this Doc View Source

    SupportsParams

    Declaration
    public override bool SupportsParams { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    PerfTask.SupportsParams

    Methods

    | Improve this Doc View Source

    DoLogic()

    Declaration
    public override int DoLogic()
    Returns
    Type Description
    System.Int32
    Overrides
    PerfTask.DoLogic()
    | Improve this Doc View Source

    SetParams(String)

    Declaration
    public override void SetParams(string params)
    Parameters
    Type Name Description
    System.String params
    Overrides
    PerfTask.SetParams(String)

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)