public class ScaleDownPolicy extends Object
Constructor and Description |
---|
ScaleDownPolicy() |
ScaleDownPolicy(List<String> connectors,
String groupName,
String clusterName,
boolean enabled) |
ScaleDownPolicy(String discoveryGroup,
String groupName,
String clusterName,
boolean enabled) |
Modifier and Type | Method and Description |
---|---|
String |
getClusterName() |
List<String> |
getConnectors() |
String |
getDiscoveryGroup() |
String |
getGroupName() |
static ServerLocatorInternal |
getScaleDownConnector(ScaleDownPolicy scaleDownPolicy,
ActiveMQServer activeMQServer) |
boolean |
isEnabled() |
void |
setClusterName(String clusterName) |
void |
setConnectors(List<String> connectors) |
void |
setDiscoveryGroup(String discoveryGroup) |
void |
setEnabled(boolean enabled) |
void |
setGroupName(String groupName) |
public ScaleDownPolicy()
public ScaleDownPolicy(List<String> connectors, String groupName, String clusterName, boolean enabled)
public String getDiscoveryGroup()
public void setDiscoveryGroup(String discoveryGroup)
public String getGroupName()
public void setGroupName(String groupName)
public String getClusterName()
public void setClusterName(String clusterName)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public static ServerLocatorInternal getScaleDownConnector(ScaleDownPolicy scaleDownPolicy, ActiveMQServer activeMQServer) throws ActiveMQException
ActiveMQException
Copyright © 2017 JBoss by Red Hat. All rights reserved.