Gemfire JavaDocs
Package org.apache.geode.admin
Class RegionSubRegionSnapshot
- java.lang.Object
-
- org.apache.geode.admin.RegionSubRegionSnapshot
-
- All Implemented Interfaces:
java.io.Serializable
,DataSerializable
@Deprecated public class RegionSubRegionSnapshot extends java.lang.Object implements DataSerializable
Deprecated.as of 7.0 use themanagement
package insteadClassRegionSubRegionSnapshot
provides information aboutRegion
s. This also provides the information about sub regions This class is used by the monitoring tool.- Since:
- GemFire 5.7
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.geode.DataSerializable
DataSerializable.Replaceable
-
-
Field Summary
Fields Modifier and Type Field Description protected int
entryCount
Deprecated.protected java.lang.String
name
Deprecated.protected RegionSubRegionSnapshot
parent
Deprecated.protected java.util.Set
subRegionSnapshots
Deprecated.
-
Constructor Summary
Constructors Constructor Description RegionSubRegionSnapshot()
Deprecated.RegionSubRegionSnapshot(Region reg)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
addSubRegion(RegionSubRegionSnapshot snap)
Deprecated.add the snapshot of sub regionvoid
fromData(java.io.DataInput in)
Deprecated.Reads the state of this object as primitive data from the givenDataInput
.int
getEntryCount()
Deprecated.java.lang.String
getFullPath()
Deprecated.java.lang.String
getName()
Deprecated.RegionSubRegionSnapshot
getParent()
Deprecated.java.util.Set
getSubRegionSnapshots()
Deprecated.void
setEntryCount(int entryCount)
Deprecated.void
setName(java.lang.String name)
Deprecated.void
setParent(RegionSubRegionSnapshot parent)
Deprecated.void
setSubRegionSnapshots(java.util.Set subRegionSnapshots)
Deprecated.void
toData(java.io.DataOutput out)
Deprecated.Writes the state of this object as primitive data to the givenDataOutput
.java.lang.String
toString()
Deprecated.
-
-
-
Field Detail
-
name
protected java.lang.String name
Deprecated.
-
entryCount
protected int entryCount
Deprecated.
-
parent
protected RegionSubRegionSnapshot parent
Deprecated.
-
subRegionSnapshots
protected java.util.Set subRegionSnapshots
Deprecated.
-
-
Constructor Detail
-
RegionSubRegionSnapshot
public RegionSubRegionSnapshot()
Deprecated.
-
RegionSubRegionSnapshot
public RegionSubRegionSnapshot(Region reg)
Deprecated.
-
-
Method Detail
-
addSubRegion
public boolean addSubRegion(RegionSubRegionSnapshot snap)
Deprecated.add the snapshot of sub region- Parameters:
snap
- snapshot of sub region- Returns:
- true if operation is successful
-
getEntryCount
public int getEntryCount()
Deprecated.- Returns:
- get entry count of region
-
setEntryCount
public void setEntryCount(int entryCount)
Deprecated.- Parameters:
entryCount
- entry count of region
-
getName
public java.lang.String getName()
Deprecated.- Returns:
- name of region
-
setName
public void setName(java.lang.String name)
Deprecated.- Parameters:
name
- name of region
-
getSubRegionSnapshots
public java.util.Set getSubRegionSnapshots()
Deprecated.- Returns:
- subRegionSnapshots of all the sub regions
-
setSubRegionSnapshots
public void setSubRegionSnapshots(java.util.Set subRegionSnapshots)
Deprecated.- Parameters:
subRegionSnapshots
- subRegionSnapshots of all the sub regions
-
getParent
public RegionSubRegionSnapshot getParent()
Deprecated.- Returns:
- snapshot of parent region
-
setParent
public void setParent(RegionSubRegionSnapshot parent)
Deprecated.- Parameters:
parent
- snapshot of parent region
-
getFullPath
public java.lang.String getFullPath()
Deprecated.- Returns:
- full path of region
-
toData
public void toData(java.io.DataOutput out) throws java.io.IOException
Deprecated.Description copied from interface:DataSerializable
Writes the state of this object as primitive data to the givenDataOutput
.Since 5.7 it is possible for any method call to the specified
DataOutput
to throwGemFireRethrowable
. It should not be caught by user code. If it is it must be rethrown.- Specified by:
toData
in interfaceDataSerializable
- Parameters:
out
- theDataOutput
to write to- Throws:
java.io.IOException
- A problem occurs while writing toout
-
fromData
public void fromData(java.io.DataInput in) throws java.io.IOException, java.lang.ClassNotFoundException
Deprecated.Description copied from interface:DataSerializable
Reads the state of this object as primitive data from the givenDataInput
.- Specified by:
fromData
in interfaceDataSerializable
- Parameters:
in
- theDataInput
to read from- Throws:
java.io.IOException
- A problem occurs while reading fromin
java.lang.ClassNotFoundException
- A class could not be loaded while reading fromin
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-