|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.novell.sentinel.client.bean.SentinelBean
com.novell.db.object.bean.DiskUsageBean
public class DiskUsageBean
An automatically-generated "bean" class for the Sentinel data object type 'disk-usage'.
SentinelBean.
SentinelBean,
BeanTransporter| Nested Class Summary | |
|---|---|
static class |
DiskUsageBean.TypeType
An enumerated type representing values for the field ' type'. |
| Field Summary | |
|---|---|
static String |
AVAILABLESPACE
The "bean name" of the Sentinel data object field 'AvailableSpace'. |
static String |
CAPACITYATRISK
The "bean name" of the Sentinel data object field 'CapacityAtRisk'. |
static String |
CAPACITYATRISKSTARTTIME
The "bean name" of the Sentinel data object field 'CapacityAtRiskStartTime'. |
static String |
DAILYRATE
The "bean name" of the Sentinel data object field 'DailyRate'. |
static String |
DAYSCOUNT
The "bean name" of the Sentinel data object field 'DaysCount'. |
static String |
HISTORICALUSAGE
The "bean name" of the Sentinel data object field 'HistoricalUsage'. |
static String |
OVERFLOWSTARTPERCENT
The "bean name" of the Sentinel data object field 'OverflowStartPercent'. |
static String |
OVERFLOWSTOPPERCENT
The "bean name" of the Sentinel data object field 'OverflowStopPercent'. |
static String |
TOTALSPACE
The "bean name" of the Sentinel data object field 'TotalSpace'. |
static String |
TYPE
The "bean name" of the Sentinel data object field 'Type'. |
static String |
USEDSPACE
The "bean name" of the Sentinel data object field 'UsedSpace'. |
| Constructor Summary | |
|---|---|
|
DiskUsageBean()
Construct an instance of the bean class. |
protected |
DiskUsageBean(BeanMetaData<? extends SentinelBean> metadata)
Constructor for use by derived classes. |
| Method Summary | |
|---|---|
void |
clearOverflowStartPercent()
Clear any current value for the ' overflow-start' field in the bean. |
void |
clearOverflowStopPercent()
Clear any current value for the ' overflow-stop' field in the bean. |
void |
clearType()
Clear any current value for the ' type' field in the bean. |
DiskUsageBean |
clone()
Create a duplicate of this bean instance, including all field values. |
long |
getAvailableSpace()
Get the value for the ' avail' field. |
static BeanMetaData<? extends DiskUsageBean> |
getBeanMetaData()
Get the metadata class instance for this type. |
Date |
getCapacityAtRiskStartTime()
Get the value for the ' capacity-at-risk-start-time' field. |
double |
getDailyRate()
Get the value for the ' rate' field. |
int |
getDaysCount()
Get the value for the ' days' field. |
Collection<HistoricalDiskUsageBean> |
getHistoricalUsage()
Get the value for the ' hist' field. |
int |
getOverflowStartPercent()
Get the value for the ' overflow-start' field. |
int |
getOverflowStopPercent()
Get the value for the ' overflow-stop' field. |
long |
getTotalSpace()
Get the value for the ' total' field. |
DiskUsageBean.TypeType |
getType()
Get the value for the ' type' field. |
long |
getUsedSpace()
Get the value for the ' used' field. |
boolean |
isAvailableSpaceClear()
Get whether the value for the ' avail' field is clear or not. |
boolean |
isAvailableSpaceNull()
Get whether the ' avail' field has been set to Null or not. |
boolean |
isCapacityAtRisk()
Get the value for the ' capacity-at-risk' field. |
boolean |
isCapacityAtRiskClear()
Get whether the value for the ' capacity-at-risk' field is clear or not. |
boolean |
isCapacityAtRiskNull()
Get whether the ' capacity-at-risk' field has been set to Null
or not. |
boolean |
isCapacityAtRiskStartTimeClear()
Get whether the value for the ' capacity-at-risk-start-time' field is
clear or not. |
boolean |
isCapacityAtRiskStartTimeNull()
Get whether the ' capacity-at-risk-start-time' field has been set to
Null or not. |
boolean |
isDailyRateClear()
Get whether the value for the ' rate' field is clear or not. |
boolean |
isDailyRateNull()
Get whether the ' rate' field has been set to Null or not. |
boolean |
isDaysCountClear()
Get whether the value for the ' days' field is clear or not. |
boolean |
isDaysCountNull()
Get whether the ' days' field has been set to Null or not. |
boolean |
isHistoricalUsageClear()
Get whether the value for the ' hist' field is clear or not. |
boolean |
isHistoricalUsageNull()
Get whether the ' hist' field has been set to Null or not. |
boolean |
isOverflowStartPercentClear()
Get whether the value for the ' overflow-start' field is clear or not. |
boolean |
isOverflowStartPercentNull()
Get whether the ' overflow-start' field has been set to Null or
not. |
boolean |
isOverflowStopPercentClear()
Get whether the value for the ' overflow-stop' field is clear or not. |
boolean |
isOverflowStopPercentNull()
Get whether the ' overflow-stop' field has been set to Null or
not. |
boolean |
isTotalSpaceClear()
Get whether the value for the ' total' field is clear or not. |
boolean |
isTotalSpaceNull()
Get whether the ' total' field has been set to Null or not. |
boolean |
isTypeClear()
Get whether the value for the ' type' field is clear or not. |
boolean |
isTypeNull()
Get whether the ' type' field has been set to Null or not. |
boolean |
isUsedSpaceClear()
Get whether the value for the ' used' field is clear or not. |
boolean |
isUsedSpaceNull()
Get whether the ' used' field has been set to Null or not. |
void |
setOverflowStartPercent(int overflowStartPercent)
Set the value for the ' overflow-start' field. |
void |
setOverflowStartPercentNull()
Set to Null any current value for the ' overflow-start' field
in the bean. |
void |
setOverflowStopPercent(int overflowStopPercent)
Set the value for the ' overflow-stop' field. |
void |
setOverflowStopPercentNull()
Set to Null any current value for the ' overflow-stop' field in
the bean. |
void |
setType(DiskUsageBean.TypeType type)
Set the value for the ' type' field. |
void |
setTypeNull()
Set to Null any current value for the ' type' field in the bean. |
| Methods inherited from class com.novell.sentinel.client.bean.SentinelBean |
|---|
clearField, cloneBean, equals, fields, getBeanName, getBeanValue, getField, getFieldNoNull, getLink, getMetaData, isFieldClear, isFieldNull, isLinkClear, setField, setFieldNull, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DAYSCOUNT
""days"".
The description of the 'days' field is:
"The number of days included in the historical disk usage data."
public static final String TOTALSPACE
""total"".
The description of the 'total' field is:
"The total disk space available in kilobytes."
public static final String USEDSPACE
""used"".
The description of the 'used' field is:
"The amount of disk space used in kilobytes."
public static final String HISTORICALUSAGE
""hist"".
The description of the 'hist' field is:
"A list of HistoricalDiskUsage objects that describe the history of disk space consumption
in the Sentinel system."
public static final String OVERFLOWSTOPPERCENT
""overflow-stop"".
The description of the 'overflow-stop' field is:
"The percent value of total space that, when reached, will cause Sentinel to stop
moving data to secondary storage."
public static final String OVERFLOWSTARTPERCENT
""overflow-start"".
The description of the 'overflow-start' field is:
"The percent value of total space that, when reached, will cause Sentinel to begin
moving data to secondary storage in order to create free space."
public static final String CAPACITYATRISK
""capacity-at-risk"".
The description of the 'capacity-at-risk' field is:
"If true, the disk storage is at risk of running out of available space."
public static final String DAILYRATE
""rate"".
The description of the 'rate' field is:
"The average rate (in kilobytes) of disk usage."
public static final String CAPACITYATRISKSTARTTIME
""capacity-at-risk-start-time"".
The description of the 'capacity-at-risk-start-time' field is:
"The date and time at which the disk storage reached the "at-risk" threshold."
public static final String TYPE
""type"".
The description of the 'type' field is:
"The type of disk storage to which the DiskUsage object's data applies."
public static final String AVAILABLESPACE
""avail"".
The description of the 'avail' field is:
"The amount of free disk space in kilobytes."
| Constructor Detail |
|---|
public DiskUsageBean()
protected DiskUsageBean(BeanMetaData<? extends SentinelBean> metadata)
metadata - The metadata instance for the derived bean class. Normally this constructor
will only be called by generated code.| Method Detail |
|---|
public Date getCapacityAtRiskStartTime()
capacity-at-risk-start-time' field. The description
of the 'capacity-at-risk-start-time' field is:
"The date and time at which the disk storage reached the "at-risk" threshold."
null).CAPACITYATRISKSTARTTIMEpublic boolean isCapacityAtRiskStartTimeNull()
capacity-at-risk-start-time' field has been set to
Null or not. The description of the 'capacity-at-risk-start-time'
field is:
"The date and time at which the disk storage reached the "at-risk" threshold."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.CAPACITYATRISKSTARTTIMEpublic boolean isCapacityAtRiskStartTimeClear()
capacity-at-risk-start-time' field is
clear or not. The description of the 'capacity-at-risk-start-time' field
is:
"The date and time at which the disk storage reached the "at-risk" threshold."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.CAPACITYATRISKSTARTTIMEpublic long getTotalSpace()
total' field. The description of the 'total'
field is:
"The total disk space available in kilobytes."
null).TOTALSPACEpublic boolean isTotalSpaceNull()
total' field has been set to Null or not. The
description of the 'total' field is:
"The total disk space available in kilobytes."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.TOTALSPACEpublic boolean isTotalSpaceClear()
total' field is clear or not. The description
of the 'total' field is:
"The total disk space available in kilobytes."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.TOTALSPACEpublic int getOverflowStopPercent()
overflow-stop' field. The description of the
'overflow-stop' field is:
"The percent value of total space that, when reached, will cause Sentinel to stop
moving data to secondary storage."
null).OVERFLOWSTOPPERCENTpublic boolean isOverflowStopPercentNull()
overflow-stop' field has been set to Null or
not. The description of the 'overflow-stop' field is:
"The percent value of total space that, when reached, will cause Sentinel to stop
moving data to secondary storage."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.setOverflowStopPercentNull(),
OVERFLOWSTOPPERCENTpublic boolean isOverflowStopPercentClear()
overflow-stop' field is clear or not.
The description of the 'overflow-stop' field is:
"The percent value of total space that, when reached, will cause Sentinel to stop
moving data to secondary storage."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.clearOverflowStopPercent(),
OVERFLOWSTOPPERCENTpublic void setOverflowStopPercent(int overflowStopPercent)
overflow-stop' field. The description of the
'overflow-stop' field is:
"The percent value of total space that, when reached, will cause Sentinel to stop
moving data to secondary storage."
overflowStopPercent - Value to setOVERFLOWSTOPPERCENTpublic void clearOverflowStopPercent()
overflow-stop' field in the bean. The
description of the 'overflow-stop' field is:
"The percent value of total space that, when reached, will cause Sentinel to stop
moving data to secondary storage."
Using this method will not clear the server value when the bean is PUT to
the server.
Use the setOverflowStopPercentNull() method to clear the server's value.
See the description of cleared
values.
OVERFLOWSTOPPERCENTpublic void setOverflowStopPercentNull()
overflow-stop' field in
the bean. The description of the 'overflow-stop' field is:
"The percent value of total space that, when reached, will cause Sentinel to stop
moving data to secondary storage."
Using this method will clear the server value when the bean is PUT to the
server.
Use the clearOverflowStopPercent() method to avoid clearing the server's
value.
See the description of Null
values.
OVERFLOWSTOPPERCENTpublic double getDailyRate()
rate' field. The description of the 'rate'
field is:
"The average rate (in kilobytes) of disk usage."
null).DAILYRATEpublic boolean isDailyRateNull()
rate' field has been set to Null or not. The
description of the 'rate' field is:
"The average rate (in kilobytes) of disk usage."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.DAILYRATEpublic boolean isDailyRateClear()
rate' field is clear or not. The description
of the 'rate' field is:
"The average rate (in kilobytes) of disk usage."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.DAILYRATEpublic int getDaysCount()
days' field. The description of the 'days'
field is:
"The number of days included in the historical disk usage data."
null).DAYSCOUNTpublic boolean isDaysCountNull()
days' field has been set to Null or not. The
description of the 'days' field is:
"The number of days included in the historical disk usage data."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.DAYSCOUNTpublic boolean isDaysCountClear()
days' field is clear or not. The description
of the 'days' field is:
"The number of days included in the historical disk usage data."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.DAYSCOUNTpublic int getOverflowStartPercent()
overflow-start' field. The description of the
'overflow-start' field is:
"The percent value of total space that, when reached, will cause Sentinel to begin
moving data to secondary storage in order to create free space."
null).OVERFLOWSTARTPERCENTpublic boolean isOverflowStartPercentNull()
overflow-start' field has been set to Null or
not. The description of the 'overflow-start' field is:
"The percent value of total space that, when reached, will cause Sentinel to begin
moving data to secondary storage in order to create free space."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.setOverflowStartPercentNull(),
OVERFLOWSTARTPERCENTpublic boolean isOverflowStartPercentClear()
overflow-start' field is clear or not.
The description of the 'overflow-start' field is:
"The percent value of total space that, when reached, will cause Sentinel to begin
moving data to secondary storage in order to create free space."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.clearOverflowStartPercent(),
OVERFLOWSTARTPERCENTpublic void setOverflowStartPercent(int overflowStartPercent)
overflow-start' field. The description of the
'overflow-start' field is:
"The percent value of total space that, when reached, will cause Sentinel to begin
moving data to secondary storage in order to create free space."
overflowStartPercent - Value to setOVERFLOWSTARTPERCENTpublic void clearOverflowStartPercent()
overflow-start' field in the bean.
The description of the 'overflow-start' field is:
"The percent value of total space that, when reached, will cause Sentinel to begin
moving data to secondary storage in order to create free space."
Using this method will not clear the server value when the bean is PUT to
the server.
Use the setOverflowStartPercentNull() method to clear the server's value.
See the description of cleared
values.
OVERFLOWSTARTPERCENTpublic void setOverflowStartPercentNull()
overflow-start' field
in the bean. The description of the 'overflow-start' field is:
"The percent value of total space that, when reached, will cause Sentinel to begin
moving data to secondary storage in order to create free space."
Using this method will clear the server value when the bean is PUT to the
server.
Use the clearOverflowStartPercent() method to avoid clearing the server's
value.
See the description of Null
values.
OVERFLOWSTARTPERCENTpublic Collection<HistoricalDiskUsageBean> getHistoricalUsage()
hist' field. The description of the 'hist'
field is:
"A list of HistoricalDiskUsage objects that describe the history of disk space consumption
in the Sentinel system."
null).HISTORICALUSAGEpublic boolean isHistoricalUsageNull()
hist' field has been set to Null or not. The
description of the 'hist' field is:
"A list of HistoricalDiskUsage objects that describe the history of disk space consumption
in the Sentinel system."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.HISTORICALUSAGEpublic boolean isHistoricalUsageClear()
hist' field is clear or not. The description
of the 'hist' field is:
"A list of HistoricalDiskUsage objects that describe the history of disk space consumption
in the Sentinel system."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.HISTORICALUSAGEpublic boolean isCapacityAtRisk()
capacity-at-risk' field. The description of the
'capacity-at-risk' field is:
"If true, the disk storage is at risk of running out of available space."
null).CAPACITYATRISKpublic boolean isCapacityAtRiskNull()
capacity-at-risk' field has been set to Null
or not. The description of the 'capacity-at-risk' field is:
"If true, the disk storage is at risk of running out of available space."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.CAPACITYATRISKpublic boolean isCapacityAtRiskClear()
capacity-at-risk' field is clear or not.
The description of the 'capacity-at-risk' field is:
"If true, the disk storage is at risk of running out of available space."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.CAPACITYATRISKpublic long getAvailableSpace()
avail' field. The description of the 'avail'
field is:
"The amount of free disk space in kilobytes."
null).AVAILABLESPACEpublic boolean isAvailableSpaceNull()
avail' field has been set to Null or not. The
description of the 'avail' field is:
"The amount of free disk space in kilobytes."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.AVAILABLESPACEpublic boolean isAvailableSpaceClear()
avail' field is clear or not. The description
of the 'avail' field is:
"The amount of free disk space in kilobytes."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.AVAILABLESPACEpublic long getUsedSpace()
used' field. The description of the 'used'
field is:
"The amount of disk space used in kilobytes."
null).USEDSPACEpublic boolean isUsedSpaceNull()
used' field has been set to Null or not. The
description of the 'used' field is:
"The amount of disk space used in kilobytes."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.USEDSPACEpublic boolean isUsedSpaceClear()
used' field is clear or not. The description
of the 'used' field is:
"The amount of disk space used in kilobytes."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.USEDSPACEpublic DiskUsageBean.TypeType getType()
type' field. The description of the 'type'
field is:
"The type of disk storage to which the DiskUsage object's data applies."
null).TYPEpublic boolean isTypeNull()
type' field has been set to Null or not. The
description of the 'type' field is:
"The type of disk storage to which the DiskUsage object's data applies."
See the description of Null
values.
true if the field value has been marked as null, false
otherwise.setTypeNull(),
TYPEpublic boolean isTypeClear()
type' field is clear or not. The description
of the 'type' field is:
"The type of disk storage to which the DiskUsage object's data applies."
See the description of cleared
values.
true if the field value has been cleared, false
otherwise.clearType(),
TYPEpublic void setType(DiskUsageBean.TypeType type)
type' field. The description of the 'type'
field is:
"The type of disk storage to which the DiskUsage object's data applies."
type - Value to setTYPEpublic void clearType()
type' field in the bean. The description
of the 'type' field is:
"The type of disk storage to which the DiskUsage object's data applies."
Using this method will not clear the server value when the bean is PUT to
the server.
Use the setTypeNull() method to clear the server's value.
See the description of cleared
values.
TYPEpublic void setTypeNull()
type' field in the bean.
The description of the 'type' field is:
"The type of disk storage to which the DiskUsage object's data applies."
Using this method will clear the server value when the bean is PUT to the
server.
Use the clearType() method to avoid clearing the server's value.
See the description of Null
values.
TYPEpublic static BeanMetaData<? extends DiskUsageBean> getBeanMetaData()
BeanTransporter
implementation''s constructor.
public DiskUsageBean clone()
clone in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||