Search Results for

    Show / Hide Table of Contents

    Class Node

    Inheritance
    object
    Node
    Implements
    IEquatable<Node>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Net
    Assembly: OpenSearch.Net.dll
    Syntax
    public class Node : IEquatable<Node>

    Constructors

    | Edit this page View Source

    Node(Uri)

    Declaration
    public Node(Uri uri)
    Parameters
    Type Name Description
    Uri uri

    Properties

    | Edit this page View Source

    ClientNode

    Declaration
    public bool ClientNode { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    ClusterManagerEligible

    Indicates whether this node is cluster_manager eligible, defaults to true when unknown/unspecified

    Declaration
    public bool ClusterManagerEligible { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    ClusterManagerOnlyNode

    Declaration
    public bool ClusterManagerOnlyNode { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    DeadUntil

    When marked dead this reflects the date that the node has to be taken out of rotation till

    Declaration
    public DateTime DeadUntil { get; }
    Property Value
    Type Description
    DateTime
    | Edit this page View Source

    FailedAttempts

    The number of failed attempts trying to use this node, resets when a node is marked alive

    Declaration
    public int FailedAttempts { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    HoldsData

    Indicates whether this node holds data, defaults to true when unknown/unspecified

    Declaration
    public bool HoldsData { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    HttpEnabled

    Whether HTTP is enabled on the node or not

    Declaration
    public bool HttpEnabled { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Id

    The id of the node, defaults to null when unknown/unspecified

    Declaration
    public string Id { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    IngestEnabled

    Indicates whether this node is allowed to run ingest pipelines, defaults to true when unknown/unspecified

    Declaration
    public bool IngestEnabled { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsAlive

    Declaration
    public virtual bool IsAlive { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsResurrected

    When set this signals the transport that a ping before first usage would be wise

    Declaration
    public bool IsResurrected { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MasterEligible

    Renamed to ClusterManagerEligible as of OpenSearch 2.0

    Declaration
    [Obsolete("Use ClusterManagerEligible instead", false)]
    public bool MasterEligible { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    MasterOnlyNode

    Declaration
    [Obsolete("Use ClusterManagerOnlyNode instead", false)]
    public bool MasterOnlyNode { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Name

    The name of the node, defaults to null when unknown/unspecified

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Settings

    Declaration
    public IReadOnlyDictionary<string, object> Settings { get; set; }
    Property Value
    Type Description
    IReadOnlyDictionary<string, object>
    | Edit this page View Source

    Uri

    Declaration
    public Uri Uri { get; }
    Property Value
    Type Description
    Uri

    Methods

    | Edit this page View Source

    Clone()

    Declaration
    public Node Clone()
    Returns
    Type Description
    Node
    | Edit this page View Source

    CreatePath(string)

    Declaration
    public Uri CreatePath(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    Uri
    | Edit this page View Source

    Equals(Node)

    Declaration
    public bool Equals(Node other)
    Parameters
    Type Name Description
    Node other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    MarkAlive()

    Declaration
    public void MarkAlive()
    | Edit this page View Source

    MarkDead(DateTime)

    Declaration
    public void MarkDead(DateTime untill)
    Parameters
    Type Name Description
    DateTime untill

    Operators

    | Edit this page View Source

    operator ==(Node, Node)

    Declaration
    public static bool operator ==(Node left, Node right)
    Parameters
    Type Name Description
    Node left
    Node right
    Returns
    Type Description
    bool
    | Edit this page View Source

    implicit operator Node(Uri)

    Declaration
    public static implicit operator Node(Uri uri)
    Parameters
    Type Name Description
    Uri uri
    Returns
    Type Description
    Node
    | Edit this page View Source

    operator !=(Node, Node)

    Declaration
    public static bool operator !=(Node left, Node right)
    Parameters
    Type Name Description
    Node left
    Node right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Constructors
      • Node(Uri)
    • Properties
      • ClientNode
      • ClusterManagerEligible
      • ClusterManagerOnlyNode
      • DeadUntil
      • FailedAttempts
      • HoldsData
      • HttpEnabled
      • Id
      • IngestEnabled
      • IsAlive
      • IsResurrected
      • MasterEligible
      • MasterOnlyNode
      • Name
      • Settings
      • Uri
    • Methods
      • Clone()
      • CreatePath(string)
      • Equals(Node)
      • Equals(object)
      • GetHashCode()
      • MarkAlive()
      • MarkDead(DateTime)
    • Operators
      • operator ==(Node, Node)
      • implicit operator Node(Uri)
      • operator !=(Node, Node)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX