Package org.apache.geode.cache
Class MirrorType
java.lang.Object
org.apache.geode.cache.MirrorType
- All Implemented Interfaces:
Serializable
Deprecated.
Enumerated type for region mirroring.
- Since:
- GemFire 3.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MirrorTypeDeprecated.as of GemFire 5.0, useDataPolicy.REPLICATEinstead.static final MirrorTypeDeprecated.as of GemFire 5.0, useDataPolicy.REPLICATEinstead.static final MirrorTypeDeprecated.as of GemFire 5.0, useDataPolicy.NORMALinstead.final intDeprecated.int used as ordinal to represent this Scope -
Method Summary
Modifier and TypeMethodDescriptionstatic MirrorTypefromOrdinal(int ordinal) Deprecated.Return the MirrorType represented by specified ordinalDeprecated.Returns theDataPolicythat corresponds to this mirror type.booleanisKeys()Deprecated.Return whether this isKEYS.booleanDeprecated.Return whether this isKEYS_VALUES.booleanDeprecated.Return whether this indicates a mirrored type.booleanisNone()Deprecated.Return whether this isNONE.toString()Deprecated.Returns a string representation for this mirror type.
-
Field Details
-
NONE
Deprecated.as of GemFire 5.0, useDataPolicy.NORMALinstead.New entries created in other caches for this region are not automatically propagated to this region in this cache. -
KEYS
Deprecated.as of GemFire 5.0, useDataPolicy.REPLICATEinstead.New entries created in other caches for this region are propagated to this region in this cache, but the value is not necessarily copied to this cache with the key. -
KEYS_VALUES
Deprecated.as of GemFire 5.0, useDataPolicy.REPLICATEinstead.New entries created in other caches for this region are propagated to this region in this cache and the value is also copied to this cache. -
ordinal
public final int ordinalDeprecated.int used as ordinal to represent this Scope
-
-
Method Details
-
fromOrdinal
Deprecated.Return the MirrorType represented by specified ordinal- Parameters:
ordinal- the ordinal representation of a MirrorType- Returns:
- the MirrorType represented by specified ordinal
-
getDataPolicy
Deprecated.Returns theDataPolicythat corresponds to this mirror type.- Returns:
- the
DataPolicythat corresponds to this mirror type - Since:
- GemFire 5.0
-
isKeys
public boolean isKeys()Deprecated.Return whether this isKEYS.- Returns:
- whether this is
KEYS
-
isKeysValues
public boolean isKeysValues()Deprecated.Return whether this isKEYS_VALUES.- Returns:
- whether this is
KEYS_VALUES
-
isNone
public boolean isNone()Deprecated.Return whether this isNONE.- Returns:
- whether this is
NONE
-
isMirrored
public boolean isMirrored()Deprecated.Return whether this indicates a mirrored type.- Returns:
- true if
KEYSorKEYS_VALUES
-
toString
Deprecated.Returns a string representation for this mirror type.
-
DataPolicyinstead.