Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.diagnostics.descriptor
Interface WLDFHarvesterBean

All Superinterfaces:
WLDFBean

public interface WLDFHarvesterBean
extends WLDFBean

Configures the behavior of the Harvester component of the WebLogic Diagnostic Framework (WLDF).

Since:
9.0.0.0

Method Summary
abstract  WLDFHarvestedTypeBean createHarvestedType(String name)
          Creates a harvested type.
abstract  void destroyHarvestedType(WLDFHarvestedTypeBean entry)
          Removes an entry from the list of harvested types.
abstract  WLDFHarvestedTypeBean[] getHarvestedTypes()
          The list of MBeans representing the harvested types.
abstract  long getSamplePeriod()
          The interval, in milliseconds, between samples.
abstract  boolean isEnabled()
          Specifies whether the Harvester component is enabled.
abstract  WLDFHarvestedTypeBean lookupHarvestedType(String name)
          Looks up an instance from the list of harvested types.
abstract  void setEnabled(boolean enabled)
          Sets the value of the Enabled attribute.
abstract  void setSamplePeriod(long newValue)
          Sets the value of the SamplePeriod attribute.

 

Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean
getId, getName

 

Method Detail

isEnabled

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.


setEnabled

void setEnabled(boolean enabled)

Sets the value of the Enabled attribute.

Parameters:
enabled - The enabled state of the Harvester component.
See Also:
WLDFHarvesterBean.isEnabled()

getSamplePeriod

long getSamplePeriod()

The interval, in milliseconds, between samples.

Returns:
the sample interval

setSamplePeriod

void setSamplePeriod(long newValue)
                     throws IllegalArgumentException

Sets the value of the SamplePeriod attribute.

Parameters:
newValue - the new interval value
Throws:
IllegalArgumentException
See Also:
WLDFHarvesterBean.getSamplePeriod()

getHarvestedTypes

WLDFHarvestedTypeBean[] getHarvestedTypes()

The list of MBeans representing the harvested types.

Returns:
the harvested types

createHarvestedType

WLDFHarvestedTypeBean createHarvestedType(String name)

Creates a harvested type.

Parameters:
name - the name of the entity being created
Returns:
The created bean

destroyHarvestedType

void destroyHarvestedType(WLDFHarvestedTypeBean entry)

Removes an entry from the list of harvested types.

Parameters:
entry - the entry to be deleted

lookupHarvestedType

WLDFHarvestedTypeBean lookupHarvestedType(String name)

Looks up an instance from the list of harvested types.

Parameters:
name - the name of the entry to be looked up

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09