management
package instead@Deprecated public class RegionSubRegionSnapshot extends Object implements DataSerializable
RegionSubRegionSnapshot
provides information about Region
s. 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 String |
name
Deprecated.
|
protected RegionSubRegionSnapshot |
parent
Deprecated.
|
protected 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(DataInput in)
Deprecated.
Reads the state of this object as primitive data from the given
DataInput . |
int |
getEntryCount()
Deprecated.
|
String |
getFullPath()
Deprecated.
|
String |
getName()
Deprecated.
|
RegionSubRegionSnapshot |
getParent()
Deprecated.
|
Set |
getSubRegionSnapshots()
Deprecated.
|
void |
setEntryCount(int entryCount)
Deprecated.
|
void |
setName(String name)
Deprecated.
|
void |
setParent(RegionSubRegionSnapshot parent)
Deprecated.
|
void |
setSubRegionSnapshots(Set subRegionSnapshots)
Deprecated.
|
void |
toData(DataOutput out)
Deprecated.
Writes the state of this object as primitive data to the given
DataOutput . |
String |
toString()
Deprecated.
|
protected String name
protected int entryCount
protected RegionSubRegionSnapshot parent
protected Set subRegionSnapshots
public RegionSubRegionSnapshot()
public RegionSubRegionSnapshot(Region reg)
public boolean addSubRegion(RegionSubRegionSnapshot snap)
snap
- snapshot of sub regionpublic int getEntryCount()
public void setEntryCount(int entryCount)
entryCount
- entry count of regionpublic String getName()
public void setName(String name)
name
- name of regionpublic Set getSubRegionSnapshots()
public void setSubRegionSnapshots(Set subRegionSnapshots)
subRegionSnapshots
- subRegionSnapshots of all the sub regionspublic RegionSubRegionSnapshot getParent()
public void setParent(RegionSubRegionSnapshot parent)
parent
- snapshot of parent regionpublic String getFullPath()
public void toData(DataOutput out) throws IOException
DataSerializable
DataOutput
.
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 DataSerializable
out
- the DataOutput
to write toIOException
- A problem occurs while writing to out
public void fromData(DataInput in) throws IOException, ClassNotFoundException
DataSerializable
DataInput
.fromData
in interface DataSerializable
in
- the DataInput
to read fromIOException
- A problem occurs while reading from in
ClassNotFoundException
- A class could not be loaded while reading from in