WLDFHarvesterRuntimeMBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

Provides information about harvestable and harvested attributes, types, and instances. Harvestable means potentially available for harvesting; harvested means explicitly designated for harvesting. These terms apply to types, instances, and the attributes within those types. In addition, the interface provides access to sampling and snapshot statistics. All statistics are base on data collected during the current server session.

       
Since9.0.0.0
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.management.runtime.WLDFHarvesterRuntimeMBean
Factory Methods No factory methods. Instances of this MBean are created automatically.


Attributes

This section describes the following attributes:


AverageSamplingTime

The average amount of time, in nanoseconds, spent in sampling cycles.

       
Privileges Read only
Typelong

CachingDisabled

Private property that disables caching in proxies.

       
Privileges Read only
Typeboolean

CurrentDataSampleCount

The number of collected data samples in the current snapshot.

       
Privileges Read only
Typelong

CurrentSampleTimeAnOutlier

Whether or not the sampling time for the most recent data sample differed significantly enough from the average to be considered a statistical outlier.

       
Privileges Read only
Typeboolean

CurrentSnapshotElapsedTime

The elapsed time, in nanoseconds, of a snapshot.

       
Privileges Read only
Typelong

CurrentSnapshotStartTime

The start time, in nanoseconds, of a snapshot.

       
Privileges Read only
Typelong

KnownHarvestableTypes

The set of all known types, regardless of whether the types are currently configured for harvesting. The set includes the WebLogic Server MBeans, which are always present, plus any other types that can be discovered. MBeans that are not WebLogic Server MBeans will require instances to exist in order to discover the type.

       
Privileges Read only
Typeclass java.lang.String[]

MaximumSamplingTime

The maximum sampling time, in nanoseconds.

       
Privileges Read only
Typelong

MBeanInfo

Returns the MBean info for this MBean.

Deprecated.

       
Privileges Read only
Typejavax.management.MBeanInfo

MinimumSamplingTime

The minimum sampling time, in nanoseconds.

       
Privileges Read only
Typelong

Name

The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.

       
Privileges Read only
Typejava.lang.String

ObjectName

Returns the ObjectName under which this MBean is registered in the MBean server.

Deprecated.

       
Privileges Read only
Typeweblogic.management.WebLogicObjectName

OutlierDetectionFactor

The multiplicative factor used to determine a statistical outlier. If the actual sampling time exceeds this the session average multiplied by the outlier detection factor, then the sampling time is considered to be a statistical outlier.

       
Privileges Read only
Typefloat

Parent

Return the immediate parent for this MBean

       
Privileges Read/Write
Type

Registered

Returns false if the MBean represented by this object has been unregistered.

Deprecated.

       
Privileges Read only
Typeboolean

SamplePeriod

The current global sample period, in nanoseconds.

       
Privileges Read only
Typelong

TotalDataSampleCount

The number of configured data samples that have been collected so far in this server session.

       
Privileges Read only
Typelong

TotalSamplingCycles

The total number of sampling cycles taken thus far.

       
Privileges Read only
Typelong

TotalSamplingTime

The total amount of time, in nanoseconds, spent in sampling cycles.

       
Privileges Read only
Typelong

TotalSamplingTimeOutlierCount

The number of times within this server session that the sampling time differed significantly enough from the average to be considered a statistical outlier. The Harvester removes these values form the ongoing averages.

       
Privileges Read only
Typelong

Type

Returns the type of the MBean.

       
Privileges Read only
Typejava.lang.String


Operations

This section describes the following operations:


getCurrentlyHarvestedAttributes

The set of attributes that are currently being harvested for the specified type. The specified type must be explicitly configured for harvesting.

The returned set of attributes usually matches the corresponding set of attributes configured for harvesting; but if an error occurs when harvesting an attribute, that attribute will be omitted from the returned set.

   
Operation Name"getCurrentlyHarvestedAttributes"
ParametersObject [] {  type }

where:

  • type is an object of type java.lang.String that specifies:

    the name of the type to get the attributes for

SignatureString [] { "java.lang.String" }
Returns class
Exceptions
  • weblogic.diagnostics.harvester.HarvesterException$MissingConfigurationType
    HarvesterException.MissingConfigurationType if the provided type is not configured for harvesting
  • weblogic.diagnostics.harvester.HarvesterException$HarvestingNotEnabled
    HarvesterException.HarvestingNotEnabled if the Harvester is not deployed
  • weblogic.diagnostics.harvester.HarvesterException$AmbiguousTypeName
    HarvesterException.HarvesterException.AmbiguousTypeName if the type name requires qualification to resolve

getCurrentlyHarvestedInstances

The set of instances that are currently being harvested for the specified type. The type must be configured for harvesting.

The returned set of instances usually matches the corresponding set of instances configured for harvesting; but if an error occurs when harvesting an instance, that instance will be omitted from the returned set.

   
Operation Name"getCurrentlyHarvestedInstances"
ParametersObject [] {  type }

where:

  • type is an object of type java.lang.String that specifies:

    the name of the type to get the instances for

SignatureString [] { "java.lang.String" }
Returns class
Exceptions
  • weblogic.diagnostics.harvester.HarvesterException$MissingConfigurationType
    HarvesterException.MissingConfigurationType if the provided type is not configured for harvesting
  • weblogic.diagnostics.harvester.HarvesterException$HarvestingNotEnabled
    HarvesterException.HarvestingNotEnabled if the Harvester is not deployed
  • weblogic.diagnostics.harvester.HarvesterException$AmbiguousTypeName
    HarvesterException.AmbiguousTypeName if the type name requires qualification to resolve

getHarvestableAttributes

The set of attributes that are eligible for harvesting for the specified type. The specified type does not need to be currently configured for harvesting. For MBeans other than WebLogic Server MBeans, returns null until at least one instance has been created.

The returned array represents a list of pairs. The first element in each pair is the attribute name and the second element is the class name of the attribute's type.

   
Operation Name"getHarvestableAttributes"
ParametersObject [] {  type }

where:

  • type is an object of type java.lang.String that specifies:

    the name of the type to get the attributes for

SignatureString [] { "java.lang.String" }
Returns class
Exceptions
  • weblogic.diagnostics.harvester.HarvesterException$HarvestableTypesNotFoundException
    HarvesterException.HarvestableTypesNotFoundException if the type name is valid but could not be located
  • weblogic.diagnostics.harvester.HarvesterException$AmbiguousTypeName
    HarvesterException.AmbiguousTypeName if the type name requires qualification to resolve
  • weblogic.diagnostics.harvester.HarvesterException$TypeNotHarvestable
    HarvesterException.TypeNotHarvestableException if the type could never be harvested

getHarvestableAttributesForInstance

The set of attributes that are eligible for harvesting for the specified instance name. The type of the specified instance does not need to be currently configured for harvesting. For MBeans other than WebLogic Server MBeans, returns null until at least one instance has been created.

Note that in the case where an ObjectName pattern is specified for a WebLogic Server MBean, the ObjectName's property list must contain the "Type" property (e.g., "com.bea:Type=ServerRuntime,*"). Otherwise, as is the case for any non-WebLogic Server MBean, an instance must exist in order for the set of harvestable attributes to be known.

The returned array represents a list of pairs. The first element in each pair is the attribute name and the second element is the class name of the attribute's type.

   
Operation Name"getHarvestableAttributesForInstance"
ParametersObject [] {  instancePattern }

where:

  • instancePattern is an object of type java.lang.String that specifies:

    the ObjectName or ObjectName pattern of the type to get the attributes for

SignatureString [] { "java.lang.String" }
Returns class
Exceptions
  • weblogic.diagnostics.harvester.HarvesterException$HarvestableTypesNotFoundException
    HarvesterException.HarvestableTypesNotFoundException if the type name is valid but could not be located
  • weblogic.diagnostics.harvester.HarvesterException$AmbiguousTypeName
    HarvesterException.AmbiguousTypeName if the type name requires qualification to resolve
  • weblogic.diagnostics.harvester.HarvesterException$TypeNotHarvestable
    HarvesterException.TypeNotHarvestableException if the type could never be harvested

getHarvestableType

The type associated with a particular harvestable instance.

   
Operation Name"getHarvestableType"
ParametersObject [] {  instanceName }

where:

  • instanceName is an object of type java.lang.String that specifies:

    the name of the instance to get the type for

SignatureString [] { "java.lang.String" }
ReturnsString
Exceptions
  • weblogic.diagnostics.harvester.HarvesterException$HarvestableInstancesNotFoundException
    HarvesterException.HarvestableInstancesNotFoundException if the provided instance does not currently exist
  • weblogic.diagnostics.harvester.HarvesterException$AmbiguousInstanceName
    HarvesterException.AmbiguousInstanceName if the instance name requires qualification to resolve

getKnownHarvestableInstances

The set of instances that are eligible for harvesting for the specified type at the time of the call. The type does not need to be currently configured for harvesting.

The caller should be aware that instances come and go. This method returns only those instances that exist at the time of the call.

Note

For MBeans that are not WebLogic Server MBeans, returns null until at least one instance has been created.

   
Operation Name"getKnownHarvestableInstances"
ParametersObject [] {  type }

where:

  • type is an object of type java.lang.String that specifies:

    the name of the type to get the attributes for

SignatureString [] { "java.lang.String" }
Returns class
Exceptions
  • weblogic.diagnostics.harvester.HarvesterException$HarvestableTypesNotFoundException
    HarvesterException.HarvestableTypesNotFoundException if the type name is valid but could not be located
  • weblogic.diagnostics.harvester.HarvesterException$AmbiguousTypeName
    HarvesterException.AmbiguousTypeName if the type name requires qualification to resolve
  • weblogic.diagnostics.harvester.HarvesterException$TypeNotHarvestable
    HarvesterException.TypeNotHarvestableException if the type could never be harvested

preDeregister

   
Operation Name"preDeregister"
Parametersnull
Signaturenull
Returns void
Exceptions
  • java.lang.Exception