org.objectweb.carol.util.perfs

Class 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

Method Summary

static String
getClassAnnotation(Class cl)
static String
getClassString(Class cl)
static String
getMarshalBytes(Object obj)
See a marshalled object
static int
getMarshalSize(Object obj)
See the size of a Marchalled object

Method Details

getClassAnnotation

public static String getClassAnnotation(Class cl)


getClassString

public static String getClassString(Class cl)


getMarshalBytes

public static String getMarshalBytes(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(Object obj)
See the size of a Marchalled object

Parameters:
obj - the Object to marchal

Returns:
the size of this Marchalled object