com.sap.mw.jco

Class JCO.Throughput

java.lang.Object
  extended bycom.sap.mw.jco.JCO.Throughput
All Implemented Interfaces:
Cloneable
Enclosing class:
JCO

public static class JCO.Throughput
extends Object
implements Cloneable

JCO Throughput class. This class holds performance data.


Field Summary
protected  long num_calls
          The number of calls
protected  int num_export_bytes
          Total no. of bytes contains data in export parameter list
protected  int num_export_meta_bytes
          Total no. of bytes contains metadata in export parameter list
protected  int num_import_bytes
          Total no. of bytes contains data in import parameter list
protected  int num_import_meta_bytes
          Total no. of bytes contains metadata in import parameter list
protected  long num_received_bytes
          Total no. of bytes received from the remote system
protected  long num_sent_bytes
          Total no. of bytes send to the remote system
protected  long time_handle_request
          Time needed by the server's request handler
protected  long time_marshall
          Time for marshalling data from Java to C
protected  long time_middleware
          Time for calling native libRfc calls
protected  long time_total
          Total time for a call
protected  long time_unmarshall
          Time for unmarshalling data from C to Java
 
Constructor Summary
JCO.Throughput()
           
 
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. of data bytes received from the remote system
 long getNumSentBytes()
          Returns the no. of data bytes sent to the remote system
 long getTotalTime()
          Returns the total execution time
 long getUnmarshallTime()
          Returns the time consumed to marshall data from C to Java
 void reset()
          Resets the class variables, i.e. zeros all variables.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

num_calls

protected long num_calls
The number of calls


time_marshall

protected long time_marshall
Time for marshalling data from Java to C


time_unmarshall

protected long time_unmarshall
Time for unmarshalling data from C to Java


time_middleware

protected long time_middleware
Time for calling native libRfc calls


time_handle_request

protected long time_handle_request
Time needed by the server's request handler


time_total

protected long time_total
Total time for a call


num_sent_bytes

protected long num_sent_bytes
Total no. of bytes send to the remote system


num_received_bytes

protected long num_received_bytes
Total no. of bytes received from the remote system


num_import_bytes

protected int num_import_bytes
Total no. of bytes contains data in import parameter list


num_export_bytes

protected int num_export_bytes
Total no. of bytes contains data in export parameter list


num_import_meta_bytes

protected int num_import_meta_bytes
Total no. of bytes contains metadata in import parameter list


num_export_meta_bytes

protected int num_export_meta_bytes
Total no. of bytes contains metadata in export parameter list

Constructor Detail

JCO.Throughput

public JCO.Throughput()
Method Detail

clone

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


reset

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


getNumCalls

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

Returns:
the number of calls

getMarshallTime

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

Returns:
time consumed for marhalling data (in milliseconds)

getUnmarshallTime

public final long getUnmarshallTime()
Returns the time consumed to marshall data from C to Java

Returns:
time consumed for unmarhalling data (in milliseconds)

getMiddlewareTime

public final long getMiddlewareTime()
Returns the time consumed by the middleware layer

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

getHandleRequestTime

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

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

getTotalTime

public final long getTotalTime()
Returns the total execution time

Returns:
total execution time (in milliseconds)

getNumSentBytes

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

Returns:
no. of bytes sent to the remote system

getNumReceivedBytes

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

Returns:
no. of bytes received from the remote system

toString

public String toString()


Copyright 2006 SAP AG Complete Copyright Notice