Class Node
Assembly: OpenSearch.Net.dll
Syntax
public class Node : IEquatable<Node>
Constructors
|
Edit this page
View Source
Node(Uri)
Declaration
Parameters
Type |
Name |
Description |
Uri |
uri |
|
Properties
|
Edit this page
View Source
ClientNode
Declaration
public bool ClientNode { get; }
Property Value
|
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
|
Edit this page
View Source
ClusterManagerOnlyNode
Declaration
public bool ClusterManagerOnlyNode { get; }
Property Value
|
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
|
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
|
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
|
Edit this page
View Source
HttpEnabled
Whether HTTP is enabled on the node or not
Declaration
public bool HttpEnabled { get; set; }
Property Value
|
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
|
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
|
Edit this page
View Source
IsAlive
Declaration
public virtual bool IsAlive { get; }
Property Value
|
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
|
Edit this page
View Source
MasterEligible
Declaration
[Obsolete("Use ClusterManagerEligible instead", false)]
public bool MasterEligible { get; set; }
Property Value
|
Edit this page
View Source
MasterOnlyNode
Declaration
[Obsolete("Use ClusterManagerOnlyNode instead", false)]
public bool MasterOnlyNode { get; }
Property Value
|
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
|
Edit this page
View Source
Settings
Declaration
public IReadOnlyDictionary<string, object> Settings { get; set; }
Property Value
|
Edit this page
View Source
Uri
Declaration
Property Value
Methods
|
Edit this page
View Source
Clone()
Declaration
Returns
|
Edit this page
View Source
CreatePath(string)
Declaration
public Uri CreatePath(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
Returns
|
Edit this page
View Source
Equals(Node)
Declaration
public bool Equals(Node other)
Parameters
Type |
Name |
Description |
Node |
other |
|
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
MarkAlive()
Declaration
|
Edit this page
View Source
MarkDead(DateTime)
Declaration
public void MarkDead(DateTime untill)
Parameters
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
|
Edit this page
View Source
implicit operator Node(Uri)
Declaration
public static implicit operator Node(Uri uri)
Parameters
Type |
Name |
Description |
Uri |
uri |
|
Returns
|
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
Implements
Extension Methods