azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.r...

170 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy"
name: "EvictionPolicy"
nameWithType: "EvictionPolicy"
summary: "Redis eviction policy - default is VolatileLRU."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **EvictionPolicy**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.EvictionPolicy()"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.EvictionPolicy()"
name: "EvictionPolicy()"
nameWithType: "EvictionPolicy.EvictionPolicy()"
summary: "Creates a new instance of Eviction<wbr>Policy value."
deprecatedTag: "Use the <xref uid=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public EvictionPolicy()"
desc: "Creates a new instance of EvictionPolicy value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.ALL_KEYS_LFU"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.ALL_KEYS_LFU"
name: "ALL_KEYS_LFU"
nameWithType: "EvictionPolicy.ALL_KEYS_LFU"
summary: "Static value All<wbr>KeysLFU for Eviction<wbr>Policy."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final EvictionPolicy ALL_KEYS_LFU"
desc: "Static value AllKeysLFU for EvictionPolicy."
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.ALL_KEYS_LRU"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.ALL_KEYS_LRU"
name: "ALL_KEYS_LRU"
nameWithType: "EvictionPolicy.ALL_KEYS_LRU"
summary: "Static value All<wbr>KeysLRU for Eviction<wbr>Policy."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final EvictionPolicy ALL_KEYS_LRU"
desc: "Static value AllKeysLRU for EvictionPolicy."
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.ALL_KEYS_RANDOM"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.ALL_KEYS_RANDOM"
name: "ALL_KEYS_RANDOM"
nameWithType: "EvictionPolicy.ALL_KEYS_RANDOM"
summary: "Static value All<wbr>Keys<wbr>Random for Eviction<wbr>Policy."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final EvictionPolicy ALL_KEYS_RANDOM"
desc: "Static value AllKeysRandom for EvictionPolicy."
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.NO_EVICTION"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.NO_EVICTION"
name: "NO_EVICTION"
nameWithType: "EvictionPolicy.NO_EVICTION"
summary: "Static value No<wbr>Eviction for Eviction<wbr>Policy."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final EvictionPolicy NO_EVICTION"
desc: "Static value NoEviction for EvictionPolicy."
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.VOLATILE_LFU"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.VOLATILE_LFU"
name: "VOLATILE_LFU"
nameWithType: "EvictionPolicy.VOLATILE_LFU"
summary: "Static value VolatileLFU for Eviction<wbr>Policy."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final EvictionPolicy VOLATILE_LFU"
desc: "Static value VolatileLFU for EvictionPolicy."
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.VOLATILE_LRU"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.VOLATILE_LRU"
name: "VOLATILE_LRU"
nameWithType: "EvictionPolicy.VOLATILE_LRU"
summary: "Static value VolatileLRU for Eviction<wbr>Policy."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final EvictionPolicy VOLATILE_LRU"
desc: "Static value VolatileLRU for EvictionPolicy."
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.VOLATILE_RANDOM"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.VOLATILE_RANDOM"
name: "VOLATILE_RANDOM"
nameWithType: "EvictionPolicy.VOLATILE_RANDOM"
summary: "Static value Volatile<wbr>Random for Eviction<wbr>Policy."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final EvictionPolicy VOLATILE_RANDOM"
desc: "Static value VolatileRandom for EvictionPolicy."
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.VOLATILE_TTL"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.VOLATILE_TTL"
name: "VOLATILE_TTL"
nameWithType: "EvictionPolicy.VOLATILE_TTL"
summary: "Static value VolatileTTL for Eviction<wbr>Policy."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final EvictionPolicy VOLATILE_TTL"
desc: "Static value VolatileTTL for EvictionPolicy."
methods:
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.fromString(java.lang.String)"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.fromString(String name)"
name: "fromString(String name)"
nameWithType: "EvictionPolicy.fromString(String name)"
summary: "Creates or finds a Eviction<wbr>Policy from its string representation."
modifiers:
- "static"
parameters:
- description: "a name to look for."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static EvictionPolicy fromString(String name)"
desc: "Creates or finds a EvictionPolicy from its string representation."
returns:
description: "the corresponding EvictionPolicy."
type: "<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.values()"
fullName: "com.azure.resourcemanager.redisenterprise.models.EvictionPolicy.values()"
name: "values()"
nameWithType: "EvictionPolicy.values()"
summary: "Gets known Eviction<wbr>Policy values."
modifiers:
- "static"
syntax: "public static Collection<EvictionPolicy> values()"
desc: "Gets known EvictionPolicy values."
returns:
description: "known EvictionPolicy values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.resourcemanager.redisenterprise.models.EvictionPolicy?alt=com.azure.resourcemanager.redisenterprise.models.EvictionPolicy&text=EvictionPolicy\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "Redis eviction policy - default is VolatileLRU."
metadata: {}
package: "com.azure.resourcemanager.redisenterprise.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-redisenterprise:2.0.0