SMILA 1.0 API documentation

org.eclipse.smila.processing.bpel.counter
Class PipeletPerformanceCounter

java.lang.Object
  extended by org.eclipse.smila.processing.bpel.counter.ProcessingPerformanceCounter
      extended by org.eclipse.smila.processing.bpel.counter.PipeletPerformanceCounter

public class PipeletPerformanceCounter
extends ProcessingPerformanceCounter

combined performance counters for Pipelet measurement. Counters will appear in JMX under "SMILA processing" -> "Pipelet" -> pipeline name -> class name@location. The location could be line number in the BPEL file.

Author:
jschumacher

Constructor Summary
PipeletPerformanceCounter(java.lang.String pipelineName, java.lang.String className, java.lang.String location)
           
 
Method Summary
protected  java.lang.String getElementType()
          Gets the element type.
 ManagementAgentLocation getLocation()
          Gets the location.
protected  java.lang.String getPipelineName()
          Gets the pipeline name.
 
Methods inherited from class org.eclipse.smila.processing.bpel.counter.ProcessingPerformanceCounter
addError, countFailureMillis, countFailureNanos, countIds, countInvocationMillis, countInvocationNanos, countSuccessMillis, countSuccessNanos, getElementName, registerAgent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PipeletPerformanceCounter

public PipeletPerformanceCounter(java.lang.String pipelineName,
                                 java.lang.String className,
                                 java.lang.String location)
Parameters:
pipelineName - name of pipeline
className - class name of pipelet
location - location descriptor, e.g. name of invokePipelet element in BPEL file.
Method Detail

getPipelineName

protected java.lang.String getPipelineName()
Gets the pipeline name.

Returns:
the pipeline name

getLocation

public ManagementAgentLocation getLocation()
Gets the location.

Specified by:
getLocation in class ProcessingPerformanceCounter
Returns:
the location
See Also:
ProcessingPerformanceCounter.getLocation()

getElementType

protected java.lang.String getElementType()
Gets the element type.

Specified by:
getElementType in class ProcessingPerformanceCounter
Returns:
name of top level JMX category under "SMILA Processing"
See Also:
ProcessingPerformanceCounter.getElementType()

SMILA 1.0 API documentation