Classes | Public Member Functions | Static Public Attributes | Protected Attributes

alma.acs.profiling.orb.AcsORBProfilerImplBase Class Reference

Inheritance diagram for alma.acs.profiling.orb.AcsORBProfilerImplBase:
alma.acs.container.corba.ContainerOrbProfiler

List of all members.

Classes

class  ThreadRequestId

Public Member Functions

 AcsORBProfilerImplBase (AcsLogger logger)
void connectionThreadPoolSizeChanged (int idleThreads, int totalThreads, int maxThreads)
void undeliveredRequest (int messageSize, String poaName, String operation, boolean causedByQueueFull)
void requestQueueSizeChanged (int requestId, String poaName, int queueSize, int maxQueueLength)
void threadPoolSizeChanged (String poaName, int idleThreads, int totalThreads, int maxThreads)
void requestStarted (int requestId, String poaName, String operation)
void requestFinished (int requestId, String poaName, String operation)

Static Public Attributes

static final String DEBUG_CONFIG_PROPERTYNAME = "alma.acs.profiling.orb.debugLogs"

Protected Attributes

boolean debugConnectionThreadPoolSizeChanged = false
boolean debugUndeliveredRequest = false
boolean debugRequestQueueSizeChanged = false
boolean debugThreadPoolSizeChanged = false
boolean debugRequestStarted = false
boolean debugRequestFinished = false

Detailed Description

Profiler implementation that can be used as a base class (or directly) for ORB profiling of containers, manager, OMC etc.

If registered with the ORB, this class will collect ORB callbacks and log statistics every 10 seconds, see logStatus().

To get logs for every ORB callback (only available for stdout), use DEBUG_CONFIG_PROPERTYNAME.

Author:
msekoran (first impl as cdb_rdb :: ORBRequestTimer), hsommer

Constructor & Destructor Documentation


Member Function Documentation

void alma.acs.profiling.orb.AcsORBProfilerImplBase.connectionThreadPoolSizeChanged ( int  idleThreads,
int  totalThreads,
int  maxThreads 
)
void alma.acs.profiling.orb.AcsORBProfilerImplBase.requestFinished ( int  requestId,
String  poaName,
String  operation 
)
void alma.acs.profiling.orb.AcsORBProfilerImplBase.requestQueueSizeChanged ( int  requestId,
String  poaName,
int  queueSize,
int  maxQueueLength 
)

Only records the maximum queue length and the POA name owning that queue. For more information, we could record the queue lengths for all POAs, but then have to watch out that the backing map etc structure does not overflow when different POAs come and go.

See also:
org.jacorb.orb.acs.AcsORBProfiler.requestQueueSizeChanged(int, java.lang.String, int, int)

References alma.acs.profiling.orb.AcsORBProfilerImplBase.debugRequestQueueSizeChanged.

void alma.acs.profiling.orb.AcsORBProfilerImplBase.requestStarted ( int  requestId,
String  poaName,
String  operation 
)
void alma.acs.profiling.orb.AcsORBProfilerImplBase.threadPoolSizeChanged ( String  poaName,
int  idleThreads,
int  totalThreads,
int  maxThreads 
)
void alma.acs.profiling.orb.AcsORBProfilerImplBase.undeliveredRequest ( int  messageSize,
String  poaName,
String  operation,
boolean  causedByQueueFull 
)

Member Data Documentation

final String alma.acs.profiling.orb.AcsORBProfilerImplBase.DEBUG_CONFIG_PROPERTYNAME = "alma.acs.profiling.orb.debugLogs" [static]

This property can optionally be set to one or more (comma and/or space separated) names of callback methods as defined in AcsORBProfiler, whose invocations will then be printed to stdout in addition to the normal profiling summary statistics that gets logged.

Example: -Dalma.acs.profiling.orb.debugLogs='requestFinished,undeliveredRequest requestQueueSizeChanged'"

Referenced by alma.acs.profiling.orb.AcsORBProfilerImplBase.AcsORBProfilerImplBase().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties