VMware GemFire Java API Reference
Package org.apache.geode.admin
Interface SystemMemberRegion
-
@Deprecated public interface SystemMemberRegion
Deprecated.as of 7.0 use themanagementpackage insteadAdministrative interface that represent's theSystemMember's view of one of its cache'sRegions. If the region in the remote system member is closed or destroyed, the methods ofSystemMemberRegionwill throwRegionNotFoundException.- Since:
- GemFire 3.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description SystemMemberRegioncreateSubregion(String name, RegionAttributes attrs)Deprecated.Creates a subregion of this region.StringgetCacheListener()Deprecated.as of 6.0 use getCacheListeners() insteadString[]getCacheListeners()Deprecated.This method will return an empty array if there are no CacheListeners defined on the region.StringgetCacheLoader()Deprecated.Returns a description of any CacheLoader associated with this region.StringgetCacheWriter()Deprecated.Returns a description of any CacheWriter associated with this region.booleangetConcurrencyChecksEnabled()Deprecated.Returns whether or not conflicting concurrent operations on this region are preventedintgetConcurrencyLevel()Deprecated.Returns the ConcurrencyLevel in this region's attributes.StringgetCustomEntryIdleTimeout()Deprecated.string describing the CustomExpiry for entry-idle-timeoutStringgetCustomEntryTimeToLive()Deprecated.string describing the CustomExpiry for entry-time-to-liveDataPolicygetDataPolicy()Deprecated.Returns the DataPolicy in this region's attributes.File[]getDiskDirs()Deprecated.Returns the directories to which the region's data are written.DiskWriteAttributesgetDiskWriteAttributes()Deprecated.Returns theDiskWriteAttributesthat configure how the region is written to disk.booleangetEarlyAck()Deprecated.Returns whether or not acks are sent after an update is processed.intgetEntryCount()Deprecated.Returns the number of entries currently in this region.ExpirationActiongetEntryIdleTimeoutAction()Deprecated.Returns the EntryIdleTimeout action in this region's attributes.intgetEntryIdleTimeoutTimeLimit()Deprecated.Returns the EntryIdleTimeout time limit in this region's attributes.ExpirationActiongetEntryTimeToLiveAction()Deprecated.Returns the EntryTimeToLive action in this region's attributes.intgetEntryTimeToLiveTimeLimit()Deprecated.Returns the EntryTimeToLive time limit in this region's attributes.EvictionAttributesgetEvictionAttributes()Deprecated.Returns theEvictionAttributesthat configure how entries in the region are evictedStringgetFullPath()Deprecated.Returns the full path name that identifies this region in its cache.longgetHitCount()Deprecated.Returns the HitCount obtained from this region's statistics.floatgetHitRatio()Deprecated.Returns the HitRatio obtained from this region's statistics.intgetInitialCapacity()Deprecated.Returns the InitialCapacity in this region's attributes.StringgetKeyConstraint()Deprecated.Returns the KeyConstraint in this region's attributes.longgetLastAccessedTime()Deprecated.Returns the LastAccessedTime obtained from this region's statistics.longgetLastModifiedTime()Deprecated.Returns the LastModifiedTime obtained from this region's statistics.floatgetLoadFactor()Deprecated.Returns the LoadFactor in this region's attributes.MembershipAttributesgetMembershipAttributes()Deprecated.this API is scheduled to be removedMirrorTypegetMirrorType()Deprecated.as of 5.0, you should use getDataPolicy insteadlonggetMissCount()Deprecated.Returns the MissCount obtained from this region's statistics.StringgetName()Deprecated.Returns the name that identifies this region in its cache.PartitionAttributesgetPartitionAttributes()Deprecated.Returns thePartitionAttributesfor the region.booleangetPersistBackup()Deprecated.Returns whether or not a persistent backup should be made of the region (as opposed to just writing the overflow data to disk).ExpirationActiongetRegionIdleTimeoutAction()Deprecated.Returns the RegionIdleTimeout action in this region's attributes.intgetRegionIdleTimeoutTimeLimit()Deprecated.Returns the RegionIdleTimeout time limit in this region's attributes.ExpirationActiongetRegionTimeToLiveAction()Deprecated.Returns the RegionTimeToLive action in this region's attributes.intgetRegionTimeToLiveTimeLimit()Deprecated.Returns the RegionTimeToLive time limit in this region's attributes.ScopegetScope()Deprecated.Returns the Scope in this region's attributes.booleangetStatisticsEnabled()Deprecated.Returns the StatisticsEnabled in this region's attributes.intgetSubregionCount()Deprecated.Returns the number of subregions currently in this region.SetgetSubregionFullPaths()Deprecated.Returns the full path of each of the subregions of this region.SetgetSubregionNames()Deprecated.Returns the names of all the subregions of this region.SubscriptionAttributesgetSubscriptionAttributes()Deprecated.Returns theSubscriptionAttributesfor the region.StringgetUserAttribute()Deprecated.Returns a description of any user attribute associated with this region.StringgetValueConstraint()Deprecated.Returns the ValueConstraint in this region's attributes.voidrefresh()Deprecated.Updates the state of this region instance.
-
-
-
Method Detail
-
getName
String getName()
Deprecated.Returns the name that identifies this region in its cache.- Returns:
- the name that identifies this region in its cache
- See Also:
Region.getName()
-
getFullPath
String getFullPath()
Deprecated.Returns the full path name that identifies this region in its cache.- Returns:
- the full path name that identifies this region in its cache
- See Also:
Region.getFullPath()
-
getSubregionNames
Set getSubregionNames()
Deprecated.Returns the names of all the subregions of this region.- Returns:
- the names of all the subregions of this region
-
getSubregionFullPaths
Set getSubregionFullPaths()
Deprecated.Returns the full path of each of the subregions of this region. These paths are suitable for use withSystemMemberCache.getRegion(java.lang.String).- Returns:
- the full path of each of the subregions of this region
-
getUserAttribute
String getUserAttribute()
Deprecated.Returns a description of any user attribute associated with this region. The description includes the classname of the user attribute object as well as itstoStringrepresentation.- Returns:
- a description of any user attribute associated with this region
-
getCacheLoader
String getCacheLoader()
Deprecated.Returns a description of any CacheLoader associated with this region.- Returns:
- a description of any CacheLoader associated with this region
-
getCacheWriter
String getCacheWriter()
Deprecated.Returns a description of any CacheWriter associated with this region.- Returns:
- a description of any CacheWriter associated with this region
-
getEvictionAttributes
EvictionAttributes getEvictionAttributes()
Deprecated.Returns theEvictionAttributesthat configure how entries in the region are evicted- Returns:
- the
EvictionAttributesthat configure how entries in the region are evicted
-
getCacheListener
@Deprecated String getCacheListener()
Deprecated.as of 6.0 use getCacheListeners() insteadReturns a description of the CacheListener in this region's attributes. If there is more than 1 CacheListener defined for a region this method will return the description of the 1st CacheListener returned fromgetCacheListeners()- Returns:
- a description of the CacheListener in this region's attributes
-
getCacheListeners
String[] getCacheListeners()
Deprecated.This method will return an empty array if there are no CacheListeners defined on the region. If there are one or more than 1 CacheListeners defined, this method will return an array which has the names of all the CacheListeners- Returns:
- String[] the region's
CacheListenersas a String array - Since:
- GemFire 6.0
-
getKeyConstraint
String getKeyConstraint()
Deprecated.Returns the KeyConstraint in this region's attributes.- Returns:
- the KeyConstraint in this region's attributes
-
getValueConstraint
String getValueConstraint()
Deprecated.Returns the ValueConstraint in this region's attributes.- Returns:
- the ValueConstraint in this region's attributes
-
getRegionTimeToLiveTimeLimit
int getRegionTimeToLiveTimeLimit()
Deprecated.Returns the RegionTimeToLive time limit in this region's attributes.- Returns:
- the RegionTimeToLive time limit in this region's attributes
-
getRegionTimeToLiveAction
ExpirationAction getRegionTimeToLiveAction()
Deprecated.Returns the RegionTimeToLive action in this region's attributes.- Returns:
- the RegionTimeToLive action in this region's attributes
-
getEntryTimeToLiveTimeLimit
int getEntryTimeToLiveTimeLimit()
Deprecated.Returns the EntryTimeToLive time limit in this region's attributes.- Returns:
- the EntryTimeToLive time limit in this region's attributes
-
getEntryTimeToLiveAction
ExpirationAction getEntryTimeToLiveAction()
Deprecated.Returns the EntryTimeToLive action in this region's attributes.- Returns:
- the EntryTimeToLive action in this region's attributes
-
getCustomEntryTimeToLive
String getCustomEntryTimeToLive()
Deprecated.string describing the CustomExpiry for entry-time-to-live- Returns:
- the CustomExpiry for entry-time-to-live
-
getRegionIdleTimeoutTimeLimit
int getRegionIdleTimeoutTimeLimit()
Deprecated.Returns the RegionIdleTimeout time limit in this region's attributes.- Returns:
- the RegionIdleTimeout time limit in this region's attributes
-
getRegionIdleTimeoutAction
ExpirationAction getRegionIdleTimeoutAction()
Deprecated.Returns the RegionIdleTimeout action in this region's attributes.- Returns:
- the RegionIdleTimeout action in this region's attributes
-
getEntryIdleTimeoutTimeLimit
int getEntryIdleTimeoutTimeLimit()
Deprecated.Returns the EntryIdleTimeout time limit in this region's attributes.- Returns:
- the EntryIdleTimeout time limit in this region's attributes
-
getEntryIdleTimeoutAction
ExpirationAction getEntryIdleTimeoutAction()
Deprecated.Returns the EntryIdleTimeout action in this region's attributes.- Returns:
- the EntryIdleTimeout action in this region's attributes
-
getCustomEntryIdleTimeout
String getCustomEntryIdleTimeout()
Deprecated.string describing the CustomExpiry for entry-idle-timeout- Returns:
- the CustomExpiry for entry-idle-timeout
-
getMirrorType
@Deprecated MirrorType getMirrorType()
Deprecated.as of 5.0, you should use getDataPolicy insteadReturns the MirrorType in this region's attributes.- Returns:
- the MirrorType in this region's attributes
-
getDataPolicy
DataPolicy getDataPolicy()
Deprecated.Returns the DataPolicy in this region's attributes.- Returns:
- the DataPolicy in this region's attributes
-
getScope
Scope getScope()
Deprecated.Returns the Scope in this region's attributes.- Returns:
- the Scope in this region's attributes
-
getInitialCapacity
int getInitialCapacity()
Deprecated.Returns the InitialCapacity in this region's attributes.- Returns:
- the InitialCapacity in this region's attributes
-
getLoadFactor
float getLoadFactor()
Deprecated.Returns the LoadFactor in this region's attributes.- Returns:
- the LoadFactor in this region's attributes
-
getConcurrencyLevel
int getConcurrencyLevel()
Deprecated.Returns the ConcurrencyLevel in this region's attributes.- Returns:
- the ConcurrencyLevel in this region's attributes
-
getConcurrencyChecksEnabled
boolean getConcurrencyChecksEnabled()
Deprecated.Returns whether or not conflicting concurrent operations on this region are prevented- Returns:
- whether conflicting concurrent operations on this region are prevented
-
getStatisticsEnabled
boolean getStatisticsEnabled()
Deprecated.Returns the StatisticsEnabled in this region's attributes.- Returns:
- the StatisticsEnabled in this region's attributes
-
getPersistBackup
boolean getPersistBackup()
Deprecated.Returns whether or not a persistent backup should be made of the region (as opposed to just writing the overflow data to disk).- Returns:
- whether a persistent backup should be made of the region
-
getDiskWriteAttributes
DiskWriteAttributes getDiskWriteAttributes()
Deprecated.Returns theDiskWriteAttributesthat configure how the region is written to disk.- Returns:
- the
DiskWriteAttributesthat configure how the region is written to disk
-
getDiskDirs
File[] getDiskDirs()
Deprecated.Returns the directories to which the region's data are written. If multiple directories are used, GemFire will attempt to distribute the data evenly amongst them.- Returns:
- the directories to which the region's data are written
-
getEntryCount
int getEntryCount()
Deprecated.Returns the number of entries currently in this region.- Returns:
- the number of entries currently in this region
-
getSubregionCount
int getSubregionCount()
Deprecated.Returns the number of subregions currently in this region.- Returns:
- the number of subregions currently in this region
-
getLastModifiedTime
long getLastModifiedTime()
Deprecated.Returns the LastModifiedTime obtained from this region's statistics.- Returns:
- the LastModifiedTime obtained from this region's statistics
-
getLastAccessedTime
long getLastAccessedTime()
Deprecated.Returns the LastAccessedTime obtained from this region's statistics.- Returns:
- the LastAccessedTime obtained from this region's statistics
-
getHitCount
long getHitCount()
Deprecated.Returns the HitCount obtained from this region's statistics.- Returns:
- the HitCount obtained from this region's statistics
-
getMissCount
long getMissCount()
Deprecated.Returns the MissCount obtained from this region's statistics.- Returns:
- the MissCount obtained from this region's statistics
-
getHitRatio
float getHitRatio()
Deprecated.Returns the HitRatio obtained from this region's statistics.- Returns:
- the HitRatio obtained from this region's statistics
-
getEarlyAck
boolean getEarlyAck()
Deprecated.Returns whether or not acks are sent after an update is processed.- Returns:
- False if acks are sent after updates are processed; true if acks are sent before updates are processed.
- Since:
- GemFire 4.1
-
refresh
void refresh()
Deprecated.Updates the state of this region instance. Note that once a cache instance is closed refresh will never change the state of its regions.
-
createSubregion
SystemMemberRegion createSubregion(String name, RegionAttributes attrs) throws AdminException
Deprecated.Creates a subregion of this region.- Parameters:
name- The name of the region to createattrs- The attributes of the root region- Returns:
- the created subregion
- Throws:
AdminException- If the region cannot be created- Since:
- GemFire 4.0
-
getMembershipAttributes
@Deprecated MembershipAttributes getMembershipAttributes()
Deprecated.this API is scheduled to be removedReturns theMembershipAttributesthat configure required roles for reliable access to the region.- Returns:
- the
MembershipAttributesthat configure required roles for reliable access to the region
-
getSubscriptionAttributes
SubscriptionAttributes getSubscriptionAttributes()
Deprecated.Returns theSubscriptionAttributesfor the region.- Returns:
- the
SubscriptionAttributesfor the region - Since:
- GemFire 5.0
-
getPartitionAttributes
PartitionAttributes getPartitionAttributes()
Deprecated.Returns thePartitionAttributesfor the region.- Returns:
- the
PartitionAttributesfor the region - Since:
- GemFire 5.7
-
-