public class LiveOnlyHAPolicy<T extends LiveOnlyHAPolicy<T>> extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LiveOnlyHAPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Boolean |
scaleDown()
Configure whether this server send its messages to another live server in
the scale-down cluster when it is shutdown cleanly.
|
T |
scaleDown(Boolean value)
Configure whether this server send its messages to another live server in
the scale-down cluster when it is shutdown cleanly.
|
String |
scaleDownClusterName()
Name of the cluster used to scale down.
|
T |
scaleDownClusterName(String value)
Name of the cluster used to scale down.
|
T |
scaleDownConnector(String value)
List of connectors used to form the scale-down cluster.
|
List<String> |
scaleDownConnectors()
List of connectors used to form the scale-down cluster.
|
T |
scaleDownConnectors(List<String> value)
List of connectors used to form the scale-down cluster.
|
T |
scaleDownConnectors(String... args)
List of connectors used to form the scale-down cluster.
|
String |
scaleDownDiscoveryGroup()
Name of the discovery group used to build the scale-down cluster
|
T |
scaleDownDiscoveryGroup(String value)
Name of the discovery group used to build the scale-down cluster
|
String |
scaleDownGroupName()
Name of the group used to scale down.
|
T |
scaleDownGroupName(String value)
Name of the group used to scale down.
|
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Boolean scaleDown()
public T scaleDown(Boolean value)
public String scaleDownClusterName()
public T scaleDownClusterName(String value)
public List<String> scaleDownConnectors()
public T scaleDownConnectors(List<String> value)
public T scaleDownConnector(String value)
public T scaleDownConnectors(String... args)
public String scaleDownDiscoveryGroup()
public T scaleDownDiscoveryGroup(String value)
public String scaleDownGroupName()
Copyright © 2017 JBoss by Red Hat. All rights reserved.