GemFire 6.6.2

com.gemstone.gemfire.cache
Class MirrorType

java.lang.Object
  extended by com.gemstone.gemfire.cache.MirrorType
All Implemented Interfaces:
Serializable

Deprecated. as of GemFire 5.0, use DataPolicy instead.

@Deprecated
public class MirrorType
extends Object
implements Serializable

Enumerated type for region mirroring.

Since:
3.0
See Also:
AttributesFactory.setMirrorType(com.gemstone.gemfire.cache.MirrorType), RegionAttributes.getMirrorType(), Serialized Form

Field Summary
static MirrorType KEYS
          Deprecated. as of GemFire 5.0, use DataPolicy.REPLICATE instead.
static MirrorType KEYS_VALUES
          Deprecated. as of GemFire 5.0, use DataPolicy.REPLICATE instead.
static MirrorType NONE
          Deprecated. as of GemFire 5.0, use DataPolicy.NORMAL instead.
 int ordinal
          Deprecated. int used as ordinal to represent this Scope
 
Method Summary
static MirrorType fromOrdinal(int ordinal)
          Deprecated. Return the MirrorType represented by specified ordinal
 DataPolicy getDataPolicy()
          Deprecated. Returns the DataPolicy that corresponds to this mirror type.
 boolean isKeys()
          Deprecated. Return whether this is KEYS.
 boolean isKeysValues()
          Deprecated. Return whether this is KEYS_VALUES.
 boolean isMirrored()
          Deprecated. Return whether this indicates a mirrored type.
 boolean isNone()
          Deprecated. Return whether this is NONE.
 String toString()
          Deprecated. Returns a string representation for this mirror type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

@Deprecated
public static final MirrorType NONE
Deprecated. as of GemFire 5.0, use DataPolicy.NORMAL instead.
New entries created in other caches for this region are not automatically propagated to this region in this cache.


KEYS

@Deprecated
public static final MirrorType KEYS
Deprecated. as of GemFire 5.0, use DataPolicy.REPLICATE instead.
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
public static final MirrorType KEYS_VALUES
Deprecated. as of GemFire 5.0, use DataPolicy.REPLICATE instead.
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 ordinal
Deprecated. 
int used as ordinal to represent this Scope

Method Detail

fromOrdinal

public static MirrorType fromOrdinal(int ordinal)
Deprecated. 
Return the MirrorType represented by specified ordinal


getDataPolicy

public DataPolicy getDataPolicy()
Deprecated. 
Returns the DataPolicy that corresponds to this mirror type.

Since:
5.0

isKeys

public boolean isKeys()
Deprecated. 
Return whether this is KEYS.


isKeysValues

public boolean isKeysValues()
Deprecated. 
Return whether this is KEYS_VALUES.


isNone

public boolean isNone()
Deprecated. 
Return whether this is NONE.


isMirrored

public boolean isMirrored()
Deprecated. 
Return whether this indicates a mirrored type.

Returns:
true if KEYS or KEYS_VALUES

toString

public String toString()
Deprecated. 
Returns a string representation for this mirror type.

Overrides:
toString in class Object
Returns:
the name of this mirror type

GemFire 6.6.2

Copyright © 1997-2012 VMware, Inc. All rights reserved.