org.apgrid.grpc.ng
Class NgGrpcExecInfo

java.lang.Object
  extended byorg.apgrid.grpc.ng.NgGrpcExecInfo
All Implemented Interfaces:
GrpcExecInfo

public class NgGrpcExecInfo
extends java.lang.Object
implements GrpcExecInfo

Provides information about session.
This class saves information of time to execute RemoteFunction/RemoteMethod.
This class doesn't only implement standard interface of Grid RPC but also has functions which save extra informations.

NOTE: The information of CPU time on Java client is not available.


Constructor Summary
NgGrpcExecInfo()
           
 
Method Summary
 double getBackCPUTime()
          Gets the CPU time of receiving data of results.
 double getBackCPUTimeOnServer()
          Gets the CPU time of receiving data of results.
 double getBackTime()
          Gets the time of receiving data of results.
 double getBackTimeOnServer()
          Gets the time of receiving data of results.
 double getCallbackCalculationCPUTimeOnClient()
          Gets the CPU time of calculating callback on client.
 double getCallbackCalculationCPUTimeOnServer()
          Gets the CPU time of calculating callback on server.
 double getCallbackCalculationRealTimeOnClient()
          Gets the Real time of calculating callback on client.
 double getCallbackCalculationRealTimeOnServer()
          Gets the Real time of calculating callback on server.
 int getCallbackNTimesCalledOnClient()
          Gets the count of calling callback mesured on client.
 int getCallbackNTimesCalledOnServer()
          Gets the count of calling callback mesured on server.
 double getCallbackTransferArgumentCPUTimeOnClient()
          Gets the CPU time of receiving callback arguments mesured on client.
 double getCallbackTransferArgumentCPUTimeOnServer()
          Gets the CPU time of receiving callback arguments mesured on server.
 double getCallbackTransferArgumentRealTimeOnClient()
          Gets the Real time of receiving callback arguments mesured on client.
 double getCallbackTransferArgumentRealTimeOnServer()
          Gets the Real time of receiving callback arguments mesured on server.
 double getCallbackTransferResultCPUTimeOnClient()
          Gets the CPU time of sending callback results mesured on client.
 double getCallbackTransferResultCPUTimeOnServer()
          Gets the CPU time of sending callback results mesured on server.
 double getCallbackTransferResultRealTimeOnClient()
          Gets the Real time of sending callback results mesured on client.
 double getCallbackTransferResultRealTimeOnServer()
          Gets the Real time of sending callback results mesured on server.
 double getCompressionCPUTimeOnClient(int argID)
          Gets the CPU time of compressing arguments mesured on client.
 double getCompressionCPUTimeOnServer(int argID)
          Gets the CPU time of compressing arguments mesured on server.
 long getCompressionNbytesOnClient(int argID)
          Gets the length of compressed data mesured on client.
 long getCompressionNbytesOnServer(int argID)
          Gets the length of compressed data mesured on server.
 double getCompressionRealTimeOnClient(int argID)
          Gets the Real time of compressing arguments mesured on client.
 double getCompressionRealTimeOnServer(int argID)
          Gets the Real time of compressing arguments mesured on server.
 double getDecompressionCPUTimeOnClient(int argID)
          Gets the CPU time of compressing arguments mesured on client.
 double getDecompressionCPUTimeOnServer(int argID)
          Gets the CPU time of compressing arguments mesured on server.
 double getDecompressionRealTimeOnClient(int argID)
          Gets the Real time of decompressing arguments mesured on client.
 double getDecompressionRealTimeOnServer(int argID)
          Gets the Real time of compressing arguments mesured on server.
 double getExecCPUTime()
          Gets the CPU time of executing RemoteFunction/RemoteMethod.
 double getExecCPUTimeOnServer()
          Gets the CPU time of executing RemoteFunction/RemoteMethod.
 double getExecTime()
          Gets the time of executing RemoteFunction/RemoteMethod.
 double getExecTimeOnServer()
          Gets the time of executing RemoteFunction/RemoteMethod.
 double getForeCPUTime()
          Gets the CPU time of sending data of arguments.
 double getForeCPUTimeOnServer()
          Gets the CPU time of sending data of arguments.
 double getForeTime()
          Gets the time of sending data of arguments.
 double getForeTimeOnServer()
          Gets the time of sending data of arguments.
 double getInvokeCPUTime()
          Gets the CPU time of invoking a RemoteFunction/RemoteMethod.
 double getInvokeTime()
          Gets the time of invoking a RemoteFunction/RemoteMethod.
 double getLookupClassInfoCPUTime()
          Gets the CPU time of searching information about a RemoteFunction/RemoteMethod.
 double getLookupClassInfoTime()
          Gets the time of searching information about a RemoteFunction/RemoteMethod.
 double getLookupServerInfoCPUTime()
          Gets the CPU time of searching information about a server.
 double getLookupServerInfoTime()
          Gets the time of searching information about a server.
 double getLookupTime()
          Gets the time of searching information about a server and RemoteFunction/RemoteMethod.
 long getOriginalNbytesOnClient(int argID)
          Gets the length of original data mesured on client.
 long getOriginalNbytesOnServer(int argID)
          Gets the length of original data mesured on server.
 double getTransferFileClientToRemoteCPUTimeOnClient()
          Gets the CPU time of sending file of argument mesured on client.
 double getTransferFileClientToRemoteCPUTimeOnServer()
          Gets the CPU time of sending file of argument mesured on server.
 double getTransferFileClientToRemoteRealTimeOnClient()
          Gets the Real time of sending file of argument mesured on client.
 double getTransferFileClientToRemoteRealTimeOnServer()
          Gets the Real time of sending file of argument mesured on server.
 double getTransferFileRemoteToClientCPUTimeOnClient()
          Gets the CPU time of receiving file of argument mesured on client.
 double getTransferFileRemoteToClientCPUTimeOnServer()
          Gets the CPU time of receiving file of argument mesured on server.
 double getTransferFileRemoteToClientRealTimeOnClient()
          Gets the Real time of receiving file of argument mesured on client.
 double getTransferFileRemoteToClientRealTimeOnServer()
          Gets the Real time of receiving file of argument mesured on server.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NgGrpcExecInfo

public NgGrpcExecInfo()
Method Detail

getLookupTime

public double getLookupTime()
Gets the time of searching information about a server and RemoteFunction/RemoteMethod.

Specified by:
getLookupTime in interface GrpcExecInfo
Returns:
the time in second.

getLookupServerInfoTime

public double getLookupServerInfoTime()
Gets the time of searching information about a server.

Returns:
the time in second.

getLookupClassInfoTime

public double getLookupClassInfoTime()
Gets the time of searching information about a RemoteFunction/RemoteMethod.

Returns:
the time in second.

getInvokeTime

public double getInvokeTime()
Gets the time of invoking a RemoteFunction/RemoteMethod.

Specified by:
getInvokeTime in interface GrpcExecInfo
Returns:
the time in second.

getLookupServerInfoCPUTime

public double getLookupServerInfoCPUTime()
Gets the CPU time of searching information about a server.

Returns:
the time in second.

getLookupClassInfoCPUTime

public double getLookupClassInfoCPUTime()
Gets the CPU time of searching information about a RemoteFunction/RemoteMethod.

Returns:
the time in second.

getInvokeCPUTime

public double getInvokeCPUTime()
Gets the CPU time of invoking a RemoteFunction/RemoteMethod.

Returns:
the time in second.

getForeTime

public double getForeTime()
Gets the time of sending data of arguments.

Specified by:
getForeTime in interface GrpcExecInfo
Returns:
the time in second.

getExecTime

public double getExecTime()
Gets the time of executing RemoteFunction/RemoteMethod.

Specified by:
getExecTime in interface GrpcExecInfo
Returns:
the time in second.

getBackTime

public double getBackTime()
Gets the time of receiving data of results.

Specified by:
getBackTime in interface GrpcExecInfo
Returns:
the time in second.

getForeCPUTime

public double getForeCPUTime()
Gets the CPU time of sending data of arguments.

Returns:
the time in second.

getExecCPUTime

public double getExecCPUTime()
Gets the CPU time of executing RemoteFunction/RemoteMethod.

Returns:
the time in second.

getBackCPUTime

public double getBackCPUTime()
Gets the CPU time of receiving data of results.

Returns:
the time in second.

getForeTimeOnServer

public double getForeTimeOnServer()
Gets the time of sending data of arguments.

Returns:
the time in second.

getExecTimeOnServer

public double getExecTimeOnServer()
Gets the time of executing RemoteFunction/RemoteMethod.

Returns:
the time in second.

getBackTimeOnServer

public double getBackTimeOnServer()
Gets the time of receiving data of results.

Returns:
the time in second.

getForeCPUTimeOnServer

public double getForeCPUTimeOnServer()
Gets the CPU time of sending data of arguments.

Returns:
the time in second.

getExecCPUTimeOnServer

public double getExecCPUTimeOnServer()
Gets the CPU time of executing RemoteFunction/RemoteMethod.

Returns:
the time in second.

getBackCPUTimeOnServer

public double getBackCPUTimeOnServer()
Gets the CPU time of receiving data of results.

Returns:
the time in second.

getTransferFileClientToRemoteRealTimeOnClient

public double getTransferFileClientToRemoteRealTimeOnClient()
Gets the Real time of sending file of argument mesured on client.

Returns:
the time in second.

getTransferFileClientToRemoteRealTimeOnServer

public double getTransferFileClientToRemoteRealTimeOnServer()
Gets the Real time of sending file of argument mesured on server.

Returns:
the time in second.

getTransferFileClientToRemoteCPUTimeOnClient

public double getTransferFileClientToRemoteCPUTimeOnClient()
Gets the CPU time of sending file of argument mesured on client.

Returns:
the time in second.

getTransferFileClientToRemoteCPUTimeOnServer

public double getTransferFileClientToRemoteCPUTimeOnServer()
Gets the CPU time of sending file of argument mesured on server.

Returns:
the time in second.

getTransferFileRemoteToClientRealTimeOnClient

public double getTransferFileRemoteToClientRealTimeOnClient()
Gets the Real time of receiving file of argument mesured on client.

Returns:
the time in second.

getTransferFileRemoteToClientRealTimeOnServer

public double getTransferFileRemoteToClientRealTimeOnServer()
Gets the Real time of receiving file of argument mesured on server.

Returns:
the time in second.

getTransferFileRemoteToClientCPUTimeOnClient

public double getTransferFileRemoteToClientCPUTimeOnClient()
Gets the CPU time of receiving file of argument mesured on client.

Returns:
the time in second.

getTransferFileRemoteToClientCPUTimeOnServer

public double getTransferFileRemoteToClientCPUTimeOnServer()
Gets the CPU time of receiving file of argument mesured on server.

Returns:
the time in second.

getCallbackTransferArgumentRealTimeOnClient

public double getCallbackTransferArgumentRealTimeOnClient()
Gets the Real time of receiving callback arguments mesured on client.

Returns:
the time in second.

getCallbackTransferArgumentRealTimeOnServer

public double getCallbackTransferArgumentRealTimeOnServer()
Gets the Real time of receiving callback arguments mesured on server.

Returns:
the time in second.

getCallbackTransferArgumentCPUTimeOnClient

public double getCallbackTransferArgumentCPUTimeOnClient()
Gets the CPU time of receiving callback arguments mesured on client.

Returns:
the time in second.

getCallbackTransferArgumentCPUTimeOnServer

public double getCallbackTransferArgumentCPUTimeOnServer()
Gets the CPU time of receiving callback arguments mesured on server.

Returns:
the time in second.

getCallbackCalculationRealTimeOnClient

public double getCallbackCalculationRealTimeOnClient()
Gets the Real time of calculating callback on client.

Returns:
the time in second.

getCallbackCalculationRealTimeOnServer

public double getCallbackCalculationRealTimeOnServer()
Gets the Real time of calculating callback on server.

Returns:
the time in second.

getCallbackCalculationCPUTimeOnClient

public double getCallbackCalculationCPUTimeOnClient()
Gets the CPU time of calculating callback on client.

Returns:
the time in second.

getCallbackCalculationCPUTimeOnServer

public double getCallbackCalculationCPUTimeOnServer()
Gets the CPU time of calculating callback on server.

Returns:
the time in second.

getCallbackTransferResultRealTimeOnClient

public double getCallbackTransferResultRealTimeOnClient()
Gets the Real time of sending callback results mesured on client.

Returns:
the time in second.

getCallbackTransferResultRealTimeOnServer

public double getCallbackTransferResultRealTimeOnServer()
Gets the Real time of sending callback results mesured on server.

Returns:
the time in second.

getCallbackTransferResultCPUTimeOnClient

public double getCallbackTransferResultCPUTimeOnClient()
Gets the CPU time of sending callback results mesured on client.

Returns:
the time in second.

getCallbackTransferResultCPUTimeOnServer

public double getCallbackTransferResultCPUTimeOnServer()
Gets the CPU time of sending callback results mesured on server.

Returns:
the time in second.

getCallbackNTimesCalledOnClient

public int getCallbackNTimesCalledOnClient()
Gets the count of calling callback mesured on client.

Returns:
the time in second.

getCallbackNTimesCalledOnServer

public int getCallbackNTimesCalledOnServer()
Gets the count of calling callback mesured on server.

Returns:
the time in second.

getOriginalNbytesOnClient

public long getOriginalNbytesOnClient(int argID)
Gets the length of original data mesured on client.

Parameters:
argID - ID of the argument.
Returns:
the length in byte.

getOriginalNbytesOnServer

public long getOriginalNbytesOnServer(int argID)
Gets the length of original data mesured on server.

Parameters:
argID - ID of the argument.
Returns:
the length in byte.

getCompressionNbytesOnClient

public long getCompressionNbytesOnClient(int argID)
Gets the length of compressed data mesured on client.

Parameters:
argID - ID of the argument.
Returns:
the length in byte.

getCompressionNbytesOnServer

public long getCompressionNbytesOnServer(int argID)
Gets the length of compressed data mesured on server.

Parameters:
argID - ID of the argument.
Returns:
the length in byte.

getCompressionRealTimeOnClient

public double getCompressionRealTimeOnClient(int argID)
Gets the Real time of compressing arguments mesured on client.

Returns:
the time in second.

getCompressionRealTimeOnServer

public double getCompressionRealTimeOnServer(int argID)
Gets the Real time of compressing arguments mesured on server.

Returns:
the time in second.

getCompressionCPUTimeOnClient

public double getCompressionCPUTimeOnClient(int argID)
Gets the CPU time of compressing arguments mesured on client.

Returns:
the time in second.

getCompressionCPUTimeOnServer

public double getCompressionCPUTimeOnServer(int argID)
Gets the CPU time of compressing arguments mesured on server.

Returns:
the time in second.

getDecompressionRealTimeOnClient

public double getDecompressionRealTimeOnClient(int argID)
Gets the Real time of decompressing arguments mesured on client.

Returns:
the time in second.

getDecompressionRealTimeOnServer

public double getDecompressionRealTimeOnServer(int argID)
Gets the Real time of compressing arguments mesured on server.

Returns:
the time in second.

getDecompressionCPUTimeOnClient

public double getDecompressionCPUTimeOnClient(int argID)
Gets the CPU time of compressing arguments mesured on client.

Returns:
the time in second.

getDecompressionCPUTimeOnServer

public double getDecompressionCPUTimeOnServer(int argID)
Gets the CPU time of compressing arguments mesured on server.

Returns:
the time in second.

toString

public java.lang.String toString()