ScheduledEventStrategy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. ScheduledEventStrategy
- com.
- com.
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
Scheduled |
IGNORE
Static value Ignore for Scheduled |
|
static final
Scheduled |
STOP_ANY
Static value Stop |
|
static final
Scheduled |
STOP_BY_RACK
Static value Stop |
Constructor Summary
| Constructor | Description |
|---|---|
| ScheduledEventStrategy() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Scheduled |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Scheduled |
fromString(String name)
Creates or finds a Scheduled |
|
static
Collection<Scheduled |
values()
Gets known Scheduled |
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
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:
Returns:
values
public static Collection<ScheduledEventStrategy> values()
Gets known ScheduledEventStrategy values.
Returns: