Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices.portability
Interface ProviderPlatformStatisticsAdapter


public interface ProviderPlatformStatisticsAdapter

Implementations of this interface can be used to record statistics related to web service invocations and lifecycle.


Method Summary
 void recordOperationAbort(WebServiceEndpointInfo endpoint, QName operationName, long statsToken)
          Record the abortion of an operation invocation.
 long recordOperationStart(WebServiceEndpointInfo endpoint, QName operationName, long statsToken)
          Record the start of an operation invocation.
 void recordOperationStop(WebServiceEndpointInfo endpoint, QName operationName, long statsToken)
          Record the completion of an operation invocation.
 void recordRequestAbort(WebServiceEndpointInfo endpoint, long statsToken)
          Record a request abortion for the specified endpoint.
 void recordRequestSize(WebServiceEndpointInfo endpoint, QName operation, long requestSize)
          Record the size of a request for the specified operation of the specified endpoint.
 long recordRequestStart(WebServiceEndpointInfo endpoint, long statsToken)
          Record the start of a request for the specified endpoint.
 void recordRequestStop(WebServiceEndpointInfo endpoint, long statsToken)
          Record the completion of a request for the specified endpoint.
 void recordResponseSize(WebServiceEndpointInfo endpoint, QName operationName, long responseSize)
          Record the size of a response from the specified operation of the specified endpoint.

 

Method Detail

recordRequestStart

long recordRequestStart(WebServiceEndpointInfo endpoint,
                        long statsToken)
                        throws Exception
Record the start of a request for the specified endpoint.
Parameters:
endpoint - The endpoint processing the request.
statsToken - The token for the request start event.
Returns:
The token for the request start event.
Throws:
Exception

recordRequestStop

void recordRequestStop(WebServiceEndpointInfo endpoint,
                       long statsToken)
Record the completion of a request for the specified endpoint.
Parameters:
endpoint - The endpoint processing the request.
statsToken - The token for the request start event.

recordRequestAbort

void recordRequestAbort(WebServiceEndpointInfo endpoint,
                        long statsToken)
Record a request abortion for the specified endpoint.
Parameters:
endpoint - The endpoint processing the request.
statsToken - The token for the request start event.

recordRequestSize

void recordRequestSize(WebServiceEndpointInfo endpoint,
                       QName operation,
                       long requestSize)
Record the size of a request for the specified operation of the specified endpoint.
Parameters:
endpoint - The endpoint processing the request.
operation - The name of the operation being invoked.
requestSize - The size of the request message, measured in bytes.

recordResponseSize

void recordResponseSize(WebServiceEndpointInfo endpoint,
                        QName operationName,
                        long responseSize)
Record the size of a response from the specified operation of the specified endpoint.
Parameters:
endpoint - The endpoint that produced the response.
operationName - The name of the operation being invoked.
responseSize - The size of the response message, measured in bytes.

recordOperationStart

long recordOperationStart(WebServiceEndpointInfo endpoint,
                          QName operationName,
                          long statsToken)
Record the start of an operation invocation.
Parameters:
endpoint - The endpoint to which the operation belongs.
operationName - The name of the operation being invoked.
statsToken - The token for the operation start event.
Returns:
The token for the operation invocation event.

recordOperationStop

void recordOperationStop(WebServiceEndpointInfo endpoint,
                         QName operationName,
                         long statsToken)
Record the completion of an operation invocation.
Parameters:
endpoint - The endpoint with which the operation is associated.
operationName - The name of the operation.
statsToken - The token for the operation start event.

recordOperationAbort

void recordOperationAbort(WebServiceEndpointInfo endpoint,
                          QName operationName,
                          long statsToken)
Record the abortion of an operation invocation.
Parameters:
endpoint - The endpoint to which the operation belongs.
operationName - The name of the operation being aborted.
statsToken - The token for the operation start event.

Skip navigation links

Copyright © 2006, 2009 Oracle. All Rights Reserved.