Package com.streambase.sb.monitor
Class ModuleInfo
- java.lang.Object
-
- com.streambase.sb.monitor.ModuleInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModuleInfo.QueueInfoInformation about a Queue between modules or containers.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()protected voidextractQueueInfo(String name, StatTuplev3 st)extract queue info from the StatTuple.StringgetName()Returns the name of the thread.intgetNumTasks()Return the number of tasks on the task queueCollection<ModuleInfo.QueueInfo>queues()Return a Collection of QueueInfo's which contains information about each queue
-
-
-
Method Detail
-
extractQueueInfo
protected void extractQueueInfo(String name, StatTuplev3 st)
extract queue info from the StatTuple. It's used only by Stats v3.- Parameters:
name-st-
-
queues
public Collection<ModuleInfo.QueueInfo> queues()
Return a Collection of QueueInfo's which contains information about each queue- Returns:
- a Collection of QueueInfos
-
getName
public String getName()
Returns the name of the thread.- Returns:
- the name of the thread
-
getNumTasks
public int getNumTasks()
Return the number of tasks on the task queue- Returns:
- number of tasks on the task queue
-
-