Modifier and Type | Class and Description |
---|---|
static class |
ModuleInfo.QueueInfo
Information about a Queue between modules or containers.
|
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
isActive
Is active?
|
Constructor and Description |
---|
ModuleInfo(String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
clear()
Clear (reset) module info
|
Object |
clone() |
(package private) void |
extractInfo(StatTuple st)
extract module info from the StatTuple, setting member data as appropriate
|
(package private) void |
extractInfo(StatTuplev3 st)
extract module info from the StatTuple, setting member data as appropriate
|
protected void |
extractQueueInfo(String name,
StatTuplev3 st)
extract queue info from the StatTuple.
|
String |
getName()
Returns the name of the thread.
|
int |
getNumTasks()
Return the number of tasks on the task queue
|
(package private) void |
prettyPrint()
Pretty-print a module info object to the standard output.
|
Collection<ModuleInfo.QueueInfo> |
queues()
Return a Collection of QueueInfo's which contains information about each queue
|
(package private) void |
saveForNextCycle()
Save module information
|
ModuleInfo(String name)
name
- Module namevoid extractInfo(StatTuplev3 st)
st
- Statistics tupleprotected void extractQueueInfo(String name, StatTuplev3 st)
name
- st
- void extractInfo(StatTuple st)
st
- Statistics tuplepublic Collection<ModuleInfo.QueueInfo> queues()
void saveForNextCycle()
public String getName()
public int getNumTasks()
void prettyPrint()
void clear()
Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.