GemFire 7.0.1

com.gemstone.gemfire.management
Class PartitionAttributesData

java.lang.Object
  extended by com.gemstone.gemfire.management.PartitionAttributesData

public class PartitionAttributesData
extends Object

Composite date type used to distribute attributes for a PartitionedRegion.

Since:
7.0

Constructor Summary
PartitionAttributesData(int redundantCopies, long totalMaxMemory, int totalNumBuckets, int localMaxMemory, String colocatedWith, String partitionResolver, long recoveryDelay, long startupRecoveryDelay, String[] partitionListeners)
           
 
Method Summary
 String getColocatedWith()
          Returns the name of the PartitionedRegion that this PartitionedRegion is colocated with.
 int getLocalMaxMemory()
          Returns the maximum amount of local memory that can be used by the region.
 String[] getPartitionListeners()
          Returns a list of Classes that are configured as listeners for the Region.
 String getPartitionResolver()
          Returns a list of Classes that are configured as resolvers for the Region.
 long getRecoveryDelay()
          Returns the delay (in milliseconds) that a member will wait while trying to satisfy the redundancy of data hosted on other members.
 int getRedundantCopies()
          Returns the number of redundant copies for this PartitionedRegion.
 long getStartupRecoveryDelay()
          Returns the delay (in milliseconds) that a new member will wait while trying to satisfy the redundancy of data hosted on other members.
 long getTotalMaxMemory()
          Returns the maximum total size (in megabytes) of the Region.
 int getTotalNumBuckets()
          Returns the total number of buckets for the whole region.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartitionAttributesData

@ConstructorProperties(value={"redundantCopies","totalMaxMemory","totalNumBuckets","localMaxMemory","colocatedWith","partitionResolver","recoveryDelay","startupRecoveryDelay","partitionListeners"})
public PartitionAttributesData(int redundantCopies,
                                                          long totalMaxMemory,
                                                          int totalNumBuckets,
                                                          int localMaxMemory,
                                                          String colocatedWith,
                                                          String partitionResolver,
                                                          long recoveryDelay,
                                                          long startupRecoveryDelay,
                                                          String[] partitionListeners)
Method Detail

getRedundantCopies

public int getRedundantCopies()
Returns the number of redundant copies for this PartitionedRegion.


getTotalMaxMemory

public long getTotalMaxMemory()
Returns the maximum total size (in megabytes) of the Region.


getTotalNumBuckets

public int getTotalNumBuckets()
Returns the total number of buckets for the whole region.


getLocalMaxMemory

public int getLocalMaxMemory()
Returns the maximum amount of local memory that can be used by the region.


getColocatedWith

public String getColocatedWith()
Returns the name of the PartitionedRegion that this PartitionedRegion is colocated with.


getPartitionResolver

public String getPartitionResolver()
Returns a list of Classes that are configured as resolvers for the Region.


getRecoveryDelay

public long getRecoveryDelay()
Returns the delay (in milliseconds) that a member will wait while trying to satisfy the redundancy of data hosted on other members.


getStartupRecoveryDelay

public long getStartupRecoveryDelay()
Returns the delay (in milliseconds) that a new member will wait while trying to satisfy the redundancy of data hosted on other members.


getPartitionListeners

public String[] getPartitionListeners()
Returns a list of Classes that are configured as listeners for the Region.


toString

public String toString()
Overrides:
toString in class Object

GemFire 7.0.1

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