com.sap.conn.jco
Interface JCoThroughput


public interface JCoThroughput

JCO Throughput interface. The implementation of this class holds performance data.


Method Summary
 Object clone()
          Returns a clone of this timing object.
 long getHandleRequestTime()
          Returns the time consumed by the server's handle request method.
 long getMarshallTime()
          Returns the time consumed to marshall data from Java to C.
 long getMiddlewareTime()
          Returns the time consumed by the middleware layer.
 long getNumCalls()
          Returns the number of calls since the last reset.
 long getNumReceivedBytes()
          Returns the no.
 long getNumSentBytes()
          Returns the no.
 long getTotalTime()
          Returns the total execution time.
 long getUnmarshallTime()
          Returns the time consumed to marshal data from C to Java.
 void reset()
          Resets the class variables, i.e.
 

Method Detail

clone

Object clone()
Returns a clone of this timing object.


reset

void reset()
Resets the class variables, i.e. zeros all variables.


getNumCalls

long getNumCalls()
Returns the number of calls since the last reset.

Returns:
the number of calls

getMarshallTime

long getMarshallTime()
Returns the time consumed to marshall data from Java to C.

Returns:
time consumed for marshalling data (in milliseconds)

getUnmarshallTime

long getUnmarshallTime()
Returns the time consumed to marshal data from C to Java.

Returns:
time consumed for unmarshalling data (in milliseconds)

getMiddlewareTime

long getMiddlewareTime()
Returns the time consumed by the middleware layer.

Returns:
time consumed by the middleware layer (in milliseconds)

getHandleRequestTime

long getHandleRequestTime()
Returns the time consumed by the server's handle request method.

Returns:
time consumed by the server's handle request method (in milliseconds)

getTotalTime

long getTotalTime()
Returns the total execution time.

Returns:
total execution time (in milliseconds)

getNumSentBytes

long getNumSentBytes()
Returns the no. of data bytes sent to the remote system

Returns:
no. of bytes sent to the remote system

getNumReceivedBytes

long getNumReceivedBytes()
Returns the no. of data bytes received from the remote system

Returns:
no. of bytes received from the remote system


Copyright © 2015 SAP. All Rights Reserved.