AofFrequency Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. redisenterprise. models. AofFrequency
- com.
- com.
public final class AofFrequency
extends ExpandableStringEnum<AofFrequency>
Sets the frequency at which data is written to disk. Defaults to '1s', meaning 'every second'. Note that the 'always' setting is deprecated, because of its performance impact.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Aof |
ALWAYS
Static value always for Aof |
|
static final
Aof |
ONES
Static value 1s for Aof |
Constructor Summary
| Constructor | Description |
|---|---|
| AofFrequency() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Aof |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Aof |
fromString(String name)
Creates or finds a Aof |
|
static
Collection<Aof |
values()
Gets known Aof |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALWAYS
public static final AofFrequency ALWAYS
Static value always for AofFrequency.
ONES
public static final AofFrequency ONES
Static value 1s for AofFrequency.
Constructor Details
AofFrequency
@Deprecated
public AofFrequency()
Deprecated
Creates a new instance of AofFrequency value.
Method Details
fromString
public static AofFrequency fromString(String name)
Creates or finds a AofFrequency from its string representation.
Parameters:
Returns:
values
public static Collection<AofFrequency> values()
Gets known AofFrequency values.
Returns: