ScheduledEventStrategy Class

public final class ScheduledEventStrategy
extends ExpandableStringEnum<ScheduledEventStrategy>

How the nodes in the cluster react to scheduled events.

Field Summary

Modifier and Type Field and Description
static final ScheduledEventStrategy IGNORE

Static value Ignore for ScheduledEventStrategy.

static final ScheduledEventStrategy STOP_ANY

Static value StopAny for ScheduledEventStrategy.

static final ScheduledEventStrategy STOP_BY_RACK

Static value StopByRack for ScheduledEventStrategy.

Constructor Summary

Constructor Description
ScheduledEventStrategy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScheduledEventStrategy value.

Method Summary

Modifier and Type Method and Description
static ScheduledEventStrategy fromString(String name)

Creates or finds a ScheduledEventStrategy from its string representation.

static Collection<ScheduledEventStrategy> values()

Gets known ScheduledEventStrategy values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IGNORE

public static final ScheduledEventStrategy IGNORE

Static value Ignore for ScheduledEventStrategy.

STOP_ANY

public static final ScheduledEventStrategy STOP_ANY

Static value StopAny for ScheduledEventStrategy.

STOP_BY_RACK

public static final ScheduledEventStrategy STOP_BY_RACK

Static value StopByRack for ScheduledEventStrategy.

Constructor Details

ScheduledEventStrategy

@Deprecated
public ScheduledEventStrategy()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ScheduledEventStrategy value.

Method Details

fromString

public static ScheduledEventStrategy fromString(String name)

Creates or finds a ScheduledEventStrategy from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ScheduledEventStrategy.

values

public static Collection<ScheduledEventStrategy> values()

Gets known ScheduledEventStrategy values.

Returns:

known ScheduledEventStrategy values.

Applies to