Class VirtualCluster
Inheritance
VirtualCluster
Assembly: OpenSearch.Net.VirtualizedCluster.dll
Syntax
public class VirtualCluster
Constructors
|
Edit this page
View Source
VirtualCluster(IEnumerable<Node>)
Declaration
public VirtualCluster(IEnumerable<Node> nodes)
Parameters
Properties
|
Edit this page
View Source
ClientCallRules
Declaration
public List<IClientCallRule> ClientCallRules { get; }
Property Value
|
Edit this page
View Source
DateTimeProvider
Declaration
public TestableDateTimeProvider DateTimeProvider { get; }
Property Value
|
Edit this page
View Source
Nodes
Declaration
public IReadOnlyList<Node> Nodes { get; }
Property Value
|
Edit this page
View Source
PingingRules
Declaration
public List<IRule> PingingRules { get; }
Property Value
|
Edit this page
View Source
SniffingRules
Declaration
public List<ISniffRule> SniffingRules { get; }
Property Value
Methods
|
Edit this page
View Source
ClientCalls(Func<ClientCallRule, IClientCallRule>)
Declaration
public VirtualCluster ClientCalls(Func<ClientCallRule, IClientCallRule> selector)
Parameters
Returns
|
Edit this page
View Source
ClusterManagerEligible(params int[])
Declaration
public VirtualCluster ClusterManagerEligible(params int[] ports)
Parameters
Type |
Name |
Description |
int[] |
ports |
|
Returns
|
Edit this page
View Source
HasSetting(string, string, params int[])
Declaration
public VirtualCluster HasSetting(string key, string value, params int[] ports)
Parameters
Returns
|
Edit this page
View Source
HttpDisabled(params int[])
Declaration
public VirtualCluster HttpDisabled(params int[] ports)
Parameters
Type |
Name |
Description |
int[] |
ports |
|
Returns
|
Edit this page
View Source
MasterEligible(params int[])
Declaration
[Obsolete("Use ClusterManagerEligible instead", false)]
public VirtualCluster MasterEligible(params int[] ports)
Parameters
Type |
Name |
Description |
int[] |
ports |
|
Returns
|
Edit this page
View Source
Ping(Func<PingRule, IRule>)
Declaration
public VirtualCluster Ping(Func<PingRule, IRule> selector)
Parameters
Returns
|
Edit this page
View Source
PublishAddress(string)
Declaration
public VirtualCluster PublishAddress(string publishHost)
Parameters
Type |
Name |
Description |
string |
publishHost |
|
Returns
|
Edit this page
View Source
SingleNodeConnection(Func<IList<Node>, IEnumerable<Node>>)
Declaration
public SealedVirtualCluster SingleNodeConnection(Func<IList<Node>, IEnumerable<Node>> seedNodesSelector = null)
Parameters
Returns
|
Edit this page
View Source
Sniff(Func<SniffRule, ISniffRule>)
Declaration
public VirtualCluster Sniff(Func<SniffRule, ISniffRule> selector)
Parameters
Returns
|
Edit this page
View Source
SniffOpenSearchVersionNumber(string)
Declaration
public VirtualCluster SniffOpenSearchVersionNumber(string version)
Parameters
Type |
Name |
Description |
string |
version |
|
Returns
|
Edit this page
View Source
SniffShouldReturnFqdn()
Declaration
public VirtualCluster SniffShouldReturnFqdn()
Returns
|
Edit this page
View Source
SniffingConnectionPool(Func<IList<Node>, IEnumerable<Node>>)
Declaration
public SealedVirtualCluster SniffingConnectionPool(Func<IList<Node>, IEnumerable<Node>> seedNodesSelector = null)
Parameters
Returns
|
Edit this page
View Source
StaticConnectionPool(Func<IList<Node>, IEnumerable<Node>>)
Declaration
public SealedVirtualCluster StaticConnectionPool(Func<IList<Node>, IEnumerable<Node>> seedNodesSelector = null)
Parameters
Returns
|
Edit this page
View Source
StickyConnectionPool(Func<IList<Node>, IEnumerable<Node>>)
Declaration
public SealedVirtualCluster StickyConnectionPool(Func<IList<Node>, IEnumerable<Node>> seedNodesSelector = null)
Parameters
Returns
|
Edit this page
View Source
StickySniffingConnectionPool(Func<Node, float>, Func<IList<Node>, IEnumerable<Node>>)
Declaration
public SealedVirtualCluster StickySniffingConnectionPool(Func<Node, float> sorter = null, Func<IList<Node>, IEnumerable<Node>> seedNodesSelector = null)
Parameters
Returns
|
Edit this page
View Source
StoresNoData(params int[])
Declaration
public VirtualCluster StoresNoData(params int[] ports)
Parameters
Type |
Name |
Description |
int[] |
ports |
|
Returns
Extension Methods