management package insteadpublic class RegionSubRegionSnapshot extends java.lang.Object implements DataSerializable
RegionSubRegionSnapshot provides information about
Regions. This also provides the information about sub regions
This class is used by the monitoring tool.DataSerializable.Replaceable| Modifier and Type | Field and Description |
|---|---|
protected int |
entryCount
Deprecated.
|
protected java.lang.String |
name
Deprecated.
|
protected RegionSubRegionSnapshot |
parent
Deprecated.
|
protected java.util.Set |
subRegionSnapshots
Deprecated.
|
| Constructor and Description |
|---|
RegionSubRegionSnapshot()
Deprecated.
|
RegionSubRegionSnapshot(Region reg)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSubRegion(RegionSubRegionSnapshot snap)
Deprecated.
add the snapshot of sub region
|
void |
fromData(java.io.DataInput in)
Deprecated.
Reads the state of this object as primitive data from the given
DataInput. |
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 given
DataOutput. |
java.lang.String |
toString()
Deprecated.
|
protected java.lang.String name
protected int entryCount
protected RegionSubRegionSnapshot parent
protected java.util.Set subRegionSnapshots
public RegionSubRegionSnapshot()
public RegionSubRegionSnapshot(Region reg)
public boolean addSubRegion(RegionSubRegionSnapshot snap)
snap - snapshot of sub regionpublic final int getEntryCount()
public final void setEntryCount(int entryCount)
entryCount - entry count of regionpublic final java.lang.String getName()
public final void setName(java.lang.String name)
name - name of regionpublic final java.util.Set getSubRegionSnapshots()
public final void setSubRegionSnapshots(java.util.Set subRegionSnapshots)
subRegionSnapshots - subRegionSnapshots of all the sub regionspublic final RegionSubRegionSnapshot getParent()
public final void setParent(RegionSubRegionSnapshot parent)
parent - snapshot of parent regionpublic java.lang.String getFullPath()
public void toData(java.io.DataOutput out)
throws java.io.IOException
DataSerializableDataOutput.
Since 5.7 it is possible for any method call to the specified
DataOutput to throw GemFireRethrowable.
It should not be caught by user code.
If it is it must be rethrown.
toData in interface DataSerializablejava.io.IOException - A problem occurs while writing to outpublic void fromData(java.io.DataInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
DataSerializableDataInput.fromData in interface DataSerializablejava.io.IOException - A problem occurs while reading from injava.lang.ClassNotFoundException - A class could not be loaded while reading from
inpublic java.lang.String toString()
toString in class java.lang.Object