Package org.apache.geode.admin
Class RegionSubRegionSnapshot
java.lang.Object
org.apache.geode.admin.RegionSubRegionSnapshot
- All Implemented Interfaces:
Serializable,DataSerializable
Deprecated.
Class
RegionSubRegionSnapshot provides information about Regions. This
also provides the information about sub regions This class is used by the monitoring tool.- Since:
- GemFire 5.7
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.geode.DataSerializable
DataSerializable.Replaceable -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intDeprecated.protected StringDeprecated.protected RegionSubRegionSnapshotDeprecated.protected SetDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.add the snapshot of sub regionvoidDeprecated.Reads the state of this object as primitive data from the givenDataInput.intDeprecated.Deprecated.getName()Deprecated.Deprecated.Deprecated.voidsetEntryCount(int entryCount) Deprecated.voidDeprecated.voidsetParent(RegionSubRegionSnapshot parent) Deprecated.voidsetSubRegionSnapshots(Set subRegionSnapshots) Deprecated.voidtoData(DataOutput out) Deprecated.Writes the state of this object as primitive data to the givenDataOutput.toString()Deprecated.
-
Field Details
-
name
Deprecated. -
entryCount
protected int entryCountDeprecated. -
parent
Deprecated. -
subRegionSnapshots
Deprecated.
-
-
Constructor Details
-
RegionSubRegionSnapshot
public RegionSubRegionSnapshot()Deprecated. -
RegionSubRegionSnapshot
Deprecated.
-
-
Method Details
-
addSubRegion
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
Deprecated.- Returns:
- name of region
-
setName
Deprecated.- Parameters:
name- name of region
-
getSubRegionSnapshots
Deprecated.- Returns:
- subRegionSnapshots of all the sub regions
-
setSubRegionSnapshots
Deprecated.- Parameters:
subRegionSnapshots- subRegionSnapshots of all the sub regions
-
getParent
Deprecated.- Returns:
- snapshot of parent region
-
setParent
Deprecated.- Parameters:
parent- snapshot of parent region
-
getFullPath
Deprecated.- Returns:
- full path of region
-
toData
Deprecated.Description copied from interface:DataSerializableWrites the state of this object as primitive data to the givenDataOutput.Since 5.7 it is possible for any method call to the specified
DataOutputto throwGemFireRethrowable. It should not be caught by user code. If it is it must be rethrown.- Specified by:
toDatain interfaceDataSerializable- Parameters:
out- theDataOutputto write to- Throws:
IOException- A problem occurs while writing toout
-
fromData
Deprecated.Description copied from interface:DataSerializableReads the state of this object as primitive data from the givenDataInput.- Specified by:
fromDatain interfaceDataSerializable- Parameters:
in- theDataInputto read from- Throws:
IOException- A problem occurs while reading frominClassNotFoundException- A class could not be loaded while reading fromin
-
toString
Deprecated.
-
managementpackage instead