org.objectweb.carol.util.perfs
Class CarolJRMPPerformanceHelper

java.lang.Object
  extended byorg.objectweb.carol.util.perfs.CarolJRMPPerformanceHelper

public class CarolJRMPPerformanceHelper
extends java.lang.Object

Class CarolJRMPPerformanceHelper Provide an Helper for perfs mesures

Version:
1.0, 15/03/2003
Author:
Simon Nieuviarts

Constructor Summary
CarolJRMPPerformanceHelper()
           
 
Method Summary
static java.lang.String getClassAnnotation(java.lang.Class cl)
           
static java.lang.String getClassString(java.lang.Class cl)
           
static java.lang.String getMarshalBytes(java.lang.Object obj)
          See a marshalled object
static int getMarshalSize(java.lang.Object obj)
          See the size of a Marchalled object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CarolJRMPPerformanceHelper

public CarolJRMPPerformanceHelper()
Method Detail

getMarshalBytes

public static java.lang.String getMarshalBytes(java.lang.Object obj)
See a marshalled object

Parameters:
obj - the object to marchal
Returns:
a visible format of the marshalled object

getMarshalSize

public static int getMarshalSize(java.lang.Object obj)
See the size of a Marchalled object

Parameters:
obj - the Object to marchal
Returns:
the size of this Marchalled object

getClassString

public static java.lang.String getClassString(java.lang.Class cl)

getClassAnnotation

public static java.lang.String getClassAnnotation(java.lang.Class cl)