Modifier and Type | Method and Description |
---|---|
WLDFHarvestedTypeBean |
createHarvestedType(String name)
Creates a harvested type.
|
void |
destroyHarvestedType(WLDFHarvestedTypeBean entry)
Removes an entry from the list of harvested types.
|
WLDFHarvestedTypeBean[] |
getHarvestedTypes()
The list of MBeans representing the harvested types.
|
long |
getSamplePeriod()
The interval, in milliseconds, between samples.
|
boolean |
isEnabled()
Specifies whether the Harvester component is enabled.
|
WLDFHarvestedTypeBean |
lookupHarvestedType(String name)
Looks up an instance from the list of harvested types.
|
void |
setEnabled(boolean enabled)
Sets the value of the Enabled attribute.
|
void |
setSamplePeriod(long newValue)
Sets the value of the SamplePeriod attribute.
|
boolean isEnabled()
Specifies whether the Harvester component is enabled.
If true
, all types that are both configured and
enabled are harvested. If false
, nothing is harvested.
void setEnabled(boolean enabled)
Sets the value of the Enabled attribute.
enabled
- The enabled state of the Harvester component.WLDFHarvesterBean.isEnabled()
long getSamplePeriod()
The interval, in milliseconds, between samples.
void setSamplePeriod(long newValue) throws IllegalArgumentException
Sets the value of the SamplePeriod attribute.
newValue
- the new interval valueIllegalArgumentException
WLDFHarvesterBean.getSamplePeriod()
WLDFHarvestedTypeBean[] getHarvestedTypes()
The list of MBeans representing the harvested types.
WLDFHarvestedTypeBean createHarvestedType(String name)
Creates a harvested type.
name
- the name of the entity being createdvoid destroyHarvestedType(WLDFHarvestedTypeBean entry)
Removes an entry from the list of harvested types.
entry
- the entry to be deletedWLDFHarvestedTypeBean lookupHarvestedType(String name)
Looks up an instance from the list of harvested types.
name
- the name of the entry to be looked up