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.management.runtime
Interface WLDFHarvesterManagerRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface WLDFHarvesterManagerRuntimeMBean
extends RuntimeMBean

Provides statistical information relative to a particular configured Harvester instance, and a means to retreive an on-demand snapshot of configured attribute values.

Since:
12.1.2.0

Method Summary
abstract  long getAverageSamplingTime()
          The average amount of time, in nanoseconds, spent in sampling cycles.
abstract  long getCurrentDataSampleCount()
          The number of collected data samples in the current snapshot.
abstract  long getCurrentSnapshotElapsedTime()
          The elapsed time, in nanoseconds, of a snapshot.
abstract  long getCurrentSnapshotStartTime()
          The start time, in milliseconds, of the latest archived snapshot.
abstract  long getMaximumSamplingTime()
          The maximum observed sampling time, in nanoseconds.
abstract  long getMinimumSamplingTime()
          The minimum observed sampling time, in nanoseconds.
abstract  long getTotalDataSampleCount()
          The number of configured data samples that have been collected and archived so far in this server session.
abstract  long getTotalSamplingCycles()
          The total number of periodic sampling cycles taken thus far.
abstract  long getTotalSamplingTime()
          The total amount of observed time, in nanoseconds, spent in sampling cycles.
abstract  Map<ObjectName,AttributeList> retrieveSnapshot()
           Retrieves a snapshot of values for attributes configured in this Harvester instance at the moment the request is made; these values are returned to the caller and not persisted in the WLDF archive.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Method Detail

getAverageSamplingTime

long getAverageSamplingTime()

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

Returns:
the average amount of time spent (in nanoseconds) in sampling cycles

getCurrentDataSampleCount

long getCurrentDataSampleCount()

The number of collected data samples in the current snapshot.

Returns:
the number of data samples collected in the current snapshot

getCurrentSnapshotElapsedTime

long getCurrentSnapshotElapsedTime()

The elapsed time, in nanoseconds, of a snapshot.

Returns:
the elapsed time (in nanoseconds) of the most recent snapshot

getCurrentSnapshotStartTime

long getCurrentSnapshotStartTime()

The start time, in milliseconds, of the latest archived snapshot.

Returns:
the start time in milliseconds

getMaximumSamplingTime

long getMaximumSamplingTime()

The maximum observed sampling time, in nanoseconds.

Returns:
the maximum sampling time in nanoseconds

getMinimumSamplingTime

long getMinimumSamplingTime()

The minimum observed sampling time, in nanoseconds.

Returns:
the minimum sampling time in nanoseconds

getTotalDataSampleCount

long getTotalDataSampleCount()

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

Returns:
the number of configured data samples collected in this server session

getTotalSamplingCycles

long getTotalSamplingCycles()

The total number of periodic sampling cycles taken thus far.

Returns:
the number of sampling cycles taken

getTotalSamplingTime

long getTotalSamplingTime()

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

Returns:
the total amount of time spent (in nanoseconds) in all sampling cycles

retrieveSnapshot

Map<ObjectName,AttributeList> retrieveSnapshot()
                                               throws JMException

Retrieves a snapshot of values for attributes configured in this Harvester instance at the moment the request is made; these values are returned to the caller and not persisted in the WLDF archive. The Harvester instance does not need to be actively polling for this call to be made.

The returned Map contains a list of instances collected from and the set of values harvested from each instance. The map key is the ObjectName of MBean instance that the values were retrieved from, and the value for each key is an AttributeList containing the attributes and values retrieved from that instance.

Each returned snapshot will contain an implicit entry accessed by the reserved key "serverTimestamp"; its AttributeList payload will consist of a single attribute of the name "serverTimestamp", where the value for that "attribute" will be the timestamp in milliseconds, relative to the server, that the snapshot request was made.

NOTE that the attribute names in the returned AttributeList instances may not map to an actual attribute on the target MBean. For example, this would be the case where the attribute of a WLDFHarvestedTypeBean is actually an attribute expression, or in the case above where the snapshot timestamp is returned as an "attribute" of the WLDFHarvesterManagerRuntimeMBean instance it was requested from.

Returns:
Current snapshot of harvester configured entitites as a Map object, keyed by the ObjectName, and whose payload is an AttributeList of retrieved values
Throws:
JMException

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