cgl.narada.benchmark
Class CreationAndMarshallingOverheads

java.lang.Object
  extended by cgl.narada.benchmark.CreationAndMarshallingOverheads

public class CreationAndMarshallingOverheads
extends Object


Constructor Summary
CreationAndMarshallingOverheads()
           
 
Method Summary
 void benchmarkAlternateSerialization(int payloadSize)
           
 void benchmarkEventCreation(int payloadSize)
           
 void benchmarkInvocations(int payloadSize)
           
 void benchmarkMarshalling(int payloadSize)
           
 void benchmarkUnmarshalling(int payloadSize)
           
 NBEvent createNBEvent(int payloadSize)
           
static void main(String[] args)
           
 void methodWithArrayArguments1(byte[] x)
           
 void methodWithArrayArguments2(byte[] x)
           
 void methodWithArrayArguments3(byte[] x)
           
 void methodWithArrayArguments4(byte[] x)
           
 void methodWithArrayArguments5(byte[] x)
           
 void testMarshalling()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreationAndMarshallingOverheads

public CreationAndMarshallingOverheads()
                                throws ServiceException
Throws:
ServiceException
Method Detail

createNBEvent

public NBEvent createNBEvent(int payloadSize)
                      throws ServiceException
Throws:
ServiceException

benchmarkEventCreation

public void benchmarkEventCreation(int payloadSize)
                            throws ServiceException
Throws:
ServiceException

benchmarkAlternateSerialization

public void benchmarkAlternateSerialization(int payloadSize)

benchmarkInvocations

public void benchmarkInvocations(int payloadSize)

methodWithArrayArguments1

public void methodWithArrayArguments1(byte[] x)

methodWithArrayArguments2

public void methodWithArrayArguments2(byte[] x)

methodWithArrayArguments3

public void methodWithArrayArguments3(byte[] x)

methodWithArrayArguments4

public void methodWithArrayArguments4(byte[] x)

methodWithArrayArguments5

public void methodWithArrayArguments5(byte[] x)

benchmarkMarshalling

public void benchmarkMarshalling(int payloadSize)
                          throws ServiceException
Throws:
ServiceException

benchmarkUnmarshalling

public void benchmarkUnmarshalling(int payloadSize)
                            throws ServiceException
Throws:
ServiceException

testMarshalling

public void testMarshalling()
                     throws ServiceException
Throws:
ServiceException

main

public static void main(String[] args)
Parameters:
args -


For comments and suggestions please send e-mail to The NaradaBrokering Project