jist.minisim
Class contproxy.entity

java.lang.Object
  extended by jist.minisim.contproxy.entity
All Implemented Interfaces:
contproxy.entityInterface, JistAPI.Proxiable, JistAPI.Timeless
Enclosing class:
contproxy

public static class contproxy.entity
extends java.lang.Object
implements contproxy.entityInterface

Benchmark proxy entity.


Field Summary
private  int mode
          benchmark type.
private  long nevents
          number of blocking proxied benchmark events.
private  long nwarm
          number of blocking proxied warm-up events.
 
Constructor Summary
contproxy.entity(int mode, long nevents, long nwarm)
          Create new benchmark entity.
 
Method Summary
private  void call(contproxy.entityInterface e)
          Perform single blocking proxied call.
 void go(contproxy.entityInterface e)
          Perform benchmark.
 void operation_double(double d)
          Proxied blocking call with primitive double parameter.
 void operation_int(int i)
          Proxied blocking call with primitive integer parameter.
 void operation_null()
          Proxied blocking call with no parameters.
 void operation_string(java.lang.String s)
          Proxied blocking call with String parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mode

private int mode
benchmark type.


nevents

private long nevents
number of blocking proxied benchmark events.


nwarm

private long nwarm
number of blocking proxied warm-up events.

Constructor Detail

contproxy.entity

public contproxy.entity(int mode,
                        long nevents,
                        long nwarm)
Create new benchmark entity.

Parameters:
mode - benchmark type
nevents - number of proxied blocking benchmark events
nwarm - number of proxied blocking warm-up events
Method Detail

call

private void call(contproxy.entityInterface e)
Perform single blocking proxied call.

Parameters:
e - target entity

go

public void go(contproxy.entityInterface e)
Perform benchmark.

Specified by:
go in interface contproxy.entityInterface
Parameters:
e - entity reference

operation_null

public void operation_null()
Proxied blocking call with no parameters.

Specified by:
operation_null in interface contproxy.entityInterface

operation_int

public void operation_int(int i)
Proxied blocking call with primitive integer parameter.

Specified by:
operation_int in interface contproxy.entityInterface
Parameters:
i - dummy int

operation_double

public void operation_double(double d)
Proxied blocking call with primitive double parameter.

Specified by:
operation_double in interface contproxy.entityInterface
Parameters:
d - dummy double

operation_string

public void operation_string(java.lang.String s)
Proxied blocking call with String parameter.

Specified by:
operation_string in interface contproxy.entityInterface
Parameters:
s - dummy string