Class NodeRoles
java.lang.Object
org.opensearch.test.NodeRoles
Utility methods for creating
Settings instances defining a set of DiscoveryNodeRole.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsaddRoles(org.opensearch.common.settings.Settings settings, Set<org.opensearch.cluster.node.DiscoveryNodeRole> roles) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsclusterManagerNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsclusterManagerOnlyNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.SettingsdataNode()static org.opensearch.common.settings.SettingsdataNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsdataOnlyNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsingestNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsingestOnlyNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsnonClusterManagerNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsnonDataNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsnonIngestNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsnonRemoteClusterClientNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsnonSearchNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsnonWarmNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.SettingsnoRoles()static org.opensearch.common.settings.SettingsnoRoles(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.SettingsonlyRole(org.opensearch.cluster.node.DiscoveryNodeRole role) static org.opensearch.common.settings.SettingsonlyRole(org.opensearch.common.settings.Settings settings, org.opensearch.cluster.node.DiscoveryNodeRole role) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsonlyRoles(org.opensearch.common.settings.Settings settings, Set<org.opensearch.cluster.node.DiscoveryNodeRole> roles) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingsremoteClusterClientNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.SettingsremoveRoles(Set<org.opensearch.cluster.node.DiscoveryNodeRole> roles) static org.opensearch.common.settings.SettingsremoveRoles(org.opensearch.common.settings.Settings settings, Set<org.opensearch.cluster.node.DiscoveryNodeRole> roles) static org.opensearch.common.settings.Settingsstatic org.opensearch.common.settings.SettingssearchOnlyNode(org.opensearch.common.settings.Settings settings) static org.opensearch.common.settings.SettingswarmNode()static org.opensearch.common.settings.SettingswarmNode(org.opensearch.common.settings.Settings settings)
-
Constructor Details
-
NodeRoles
public NodeRoles()
-
-
Method Details
-
onlyRole
public static org.opensearch.common.settings.Settings onlyRole(org.opensearch.cluster.node.DiscoveryNodeRole role) -
onlyRole
public static org.opensearch.common.settings.Settings onlyRole(org.opensearch.common.settings.Settings settings, org.opensearch.cluster.node.DiscoveryNodeRole role) -
onlyRoles
public static org.opensearch.common.settings.Settings onlyRoles(Set<org.opensearch.cluster.node.DiscoveryNodeRole> roles) -
onlyRoles
public static org.opensearch.common.settings.Settings onlyRoles(org.opensearch.common.settings.Settings settings, Set<org.opensearch.cluster.node.DiscoveryNodeRole> roles) -
removeRoles
public static org.opensearch.common.settings.Settings removeRoles(Set<org.opensearch.cluster.node.DiscoveryNodeRole> roles) -
removeRoles
public static org.opensearch.common.settings.Settings removeRoles(org.opensearch.common.settings.Settings settings, Set<org.opensearch.cluster.node.DiscoveryNodeRole> roles) -
addRoles
public static org.opensearch.common.settings.Settings addRoles(Set<org.opensearch.cluster.node.DiscoveryNodeRole> roles) -
addRoles
public static org.opensearch.common.settings.Settings addRoles(org.opensearch.common.settings.Settings settings, Set<org.opensearch.cluster.node.DiscoveryNodeRole> roles) -
noRoles
public static org.opensearch.common.settings.Settings noRoles() -
noRoles
public static org.opensearch.common.settings.Settings noRoles(org.opensearch.common.settings.Settings settings) -
dataNode
public static org.opensearch.common.settings.Settings dataNode() -
dataNode
public static org.opensearch.common.settings.Settings dataNode(org.opensearch.common.settings.Settings settings) -
dataOnlyNode
public static org.opensearch.common.settings.Settings dataOnlyNode() -
dataOnlyNode
public static org.opensearch.common.settings.Settings dataOnlyNode(org.opensearch.common.settings.Settings settings) -
nonDataNode
public static org.opensearch.common.settings.Settings nonDataNode() -
nonDataNode
public static org.opensearch.common.settings.Settings nonDataNode(org.opensearch.common.settings.Settings settings) -
ingestNode
public static org.opensearch.common.settings.Settings ingestNode() -
ingestNode
public static org.opensearch.common.settings.Settings ingestNode(org.opensearch.common.settings.Settings settings) -
ingestOnlyNode
public static org.opensearch.common.settings.Settings ingestOnlyNode() -
ingestOnlyNode
public static org.opensearch.common.settings.Settings ingestOnlyNode(org.opensearch.common.settings.Settings settings) -
nonIngestNode
public static org.opensearch.common.settings.Settings nonIngestNode() -
nonIngestNode
public static org.opensearch.common.settings.Settings nonIngestNode(org.opensearch.common.settings.Settings settings) -
clusterManagerNode
public static org.opensearch.common.settings.Settings clusterManagerNode() -
clusterManagerNode
public static org.opensearch.common.settings.Settings clusterManagerNode(org.opensearch.common.settings.Settings settings) -
clusterManagerOnlyNode
public static org.opensearch.common.settings.Settings clusterManagerOnlyNode() -
clusterManagerOnlyNode
public static org.opensearch.common.settings.Settings clusterManagerOnlyNode(org.opensearch.common.settings.Settings settings) -
nonClusterManagerNode
public static org.opensearch.common.settings.Settings nonClusterManagerNode() -
nonClusterManagerNode
public static org.opensearch.common.settings.Settings nonClusterManagerNode(org.opensearch.common.settings.Settings settings) -
remoteClusterClientNode
public static org.opensearch.common.settings.Settings remoteClusterClientNode() -
remoteClusterClientNode
public static org.opensearch.common.settings.Settings remoteClusterClientNode(org.opensearch.common.settings.Settings settings) -
nonRemoteClusterClientNode
public static org.opensearch.common.settings.Settings nonRemoteClusterClientNode() -
nonRemoteClusterClientNode
public static org.opensearch.common.settings.Settings nonRemoteClusterClientNode(org.opensearch.common.settings.Settings settings) -
warmNode
public static org.opensearch.common.settings.Settings warmNode() -
warmNode
public static org.opensearch.common.settings.Settings warmNode(org.opensearch.common.settings.Settings settings) -
nonWarmNode
public static org.opensearch.common.settings.Settings nonWarmNode() -
nonWarmNode
public static org.opensearch.common.settings.Settings nonWarmNode(org.opensearch.common.settings.Settings settings) -
searchOnlyNode
public static org.opensearch.common.settings.Settings searchOnlyNode() -
searchOnlyNode
public static org.opensearch.common.settings.Settings searchOnlyNode(org.opensearch.common.settings.Settings settings) -
nonSearchNode
public static org.opensearch.common.settings.Settings nonSearchNode() -
nonSearchNode
public static org.opensearch.common.settings.Settings nonSearchNode(org.opensearch.common.settings.Settings settings)
-