public abstract class ClassSummaryDetailBase
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
COMPOSITE_TYPE_DESCRIPTION
Must override in subclass
|
protected static java.lang.String |
COMPOSITE_TYPE_TYPENAME
Must override in subclass
|
protected static javax.management.openmbean.CompositeType |
cType_ |
protected static java.lang.String[] |
itemNames_ |
Constructor and Description |
---|
ClassSummaryDetailBase(java.lang.String className,
java.lang.String cacheType,
java.lang.String configuredSize,
java.lang.String currentSize,
java.lang.String parentClassName)
Construct a ClassSummaryDetail instance.
|
Modifier and Type | Method and Description |
---|---|
static ClassSummaryDetail |
from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of
an associated CompositeData instance
|
java.lang.String |
getCacheType() |
java.lang.String |
getClassName() |
java.lang.String |
getConfiguredSize() |
java.lang.String |
getCurrentSize() |
java.lang.String |
getParentClassName() |
void |
setCacheType(java.lang.String cacheType) |
void |
setClassName(java.lang.String className) |
void |
setConfiguredSize(java.lang.String configuredSize) |
void |
setCurrentSize(java.lang.String currentSize) |
void |
setParentClassName(java.lang.String parentClassName) |
javax.management.openmbean.CompositeData |
toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to
a CompositeData.
|
static javax.management.openmbean.CompositeType |
toCompositeType()
Returns the CompositeType that describes this model
specific class
|
protected static java.lang.String COMPOSITE_TYPE_TYPENAME
protected static java.lang.String COMPOSITE_TYPE_DESCRIPTION
protected static javax.management.openmbean.CompositeType cType_
protected static final java.lang.String[] itemNames_
public ClassSummaryDetailBase(java.lang.String className, java.lang.String cacheType, java.lang.String configuredSize, java.lang.String currentSize, java.lang.String parentClassName)
public static javax.management.openmbean.CompositeType toCompositeType()
public static ClassSummaryDetail from(javax.management.openmbean.CompositeData cd)
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
ct
- - This parameter is for JDK 1.6 compatibility reasonspublic java.lang.String getClassName()
public java.lang.String getCacheType()
public java.lang.String getConfiguredSize()
public java.lang.String getCurrentSize()
public java.lang.String getParentClassName()
public void setClassName(java.lang.String className)
public void setCacheType(java.lang.String cacheType)
public void setConfiguredSize(java.lang.String configuredSize)
public void setCurrentSize(java.lang.String currentSize)
public void setParentClassName(java.lang.String parentClassName)