public static enum MiniCluster.HaServices extends Enum<MiniCluster.HaServices>
Enum Constant and Description |
---|
CONFIGURED
Uses the configured HA Services in
HighAvailabilityOptions.HA_MODE option. |
WITH_LEADERSHIP_CONTROL
Enables or disables
HaLeadershipControl in MiniCluster.getHaLeadershipControl() . |
Modifier and Type | Method and Description |
---|---|
static MiniCluster.HaServices |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MiniCluster.HaServices[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MiniCluster.HaServices CONFIGURED
HighAvailabilityOptions.HA_MODE
option.public static final MiniCluster.HaServices WITH_LEADERSHIP_CONTROL
HaLeadershipControl
in MiniCluster.getHaLeadershipControl()
.
HaLeadershipControl
allows granting and revoking leadership of HA components.
Enabling this feature disables HighAvailabilityOptions.HA_MODE
option.
public static MiniCluster.HaServices[] values()
for (MiniCluster.HaServices c : MiniCluster.HaServices.values()) System.out.println(c);
public static MiniCluster.HaServices valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.