org.objectweb.carol.util.perfs
Class CarolJRMPPerfomanceHelper

java.lang.Object
  |
  +--org.objectweb.carol.util.perfs.CarolJRMPPerfomanceHelper

public class CarolJRMPPerfomanceHelper
extends java.lang.Object

Class CarolJRMPPerfomanceHelperProvide an Helper for perfs mesures

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

Constructor Summary
CarolJRMPPerfomanceHelper()
           
 
Method Summary
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

CarolJRMPPerfomanceHelper

public CarolJRMPPerfomanceHelper()
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