|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.mmbase.module.Module
|
+--org.mmbase.module.ProcessorModule
|
+--org.mmbase.module.Stats
The module which provides access to a filesystem residing in a database
| Constructor Summary | |
Stats()
|
|
| Method Summary | |
void |
checkDirty()
|
boolean |
countSimpleEvent(java.lang.String eventname)
count simple events is a method that can only count how many times something happend, but unlike other statistics nodes its very simple to use because it autogenerates its nodes based an the name itself and caches this name for speed. |
java.util.Vector |
doRange(java.util.StringTokenizer tok,
StringTagger tagger)
|
java.lang.String |
getAliasNumber(java.lang.String alias)
|
java.lang.String |
getCount(java.lang.String number)
|
java.util.Vector |
getList(scanpage sp,
StringTagger tagger,
java.lang.String value)
Generate a list of values from a command to the processor |
java.lang.String |
getModuleInfo()
provide some info on the module |
int |
getSliceNr(java.lang.String number)
|
void |
init()
Initializes the module. |
void |
maintainance()
maintainance call, will be called by the admin to perform managment tasks. |
void |
NewStat(java.lang.String name,
java.lang.String description,
int timeslices,
int timeinterval,
int timeslice,
java.lang.String data,
int inc)
insert a new object, normally not used (only subtables are used) |
void |
onload()
|
boolean |
process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
Execute the commands provided in the form values |
java.lang.String |
replace(scanpage sp,
java.lang.String cmds)
Handle a $MOD command |
java.lang.String |
setAliasCount(java.lang.String alias,
int incr)
|
java.lang.String |
setCount(java.lang.String number,
int incr)
|
void |
shutdown()
Shuts down the module. |
void |
unload()
|
| Methods inherited from class org.mmbase.module.ProcessorModule |
cacheCheck, getListBuilder, getNodeList, reload, replace |
| Methods inherited from class org.mmbase.module.Module |
getClassName, getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, setClassName, setInitParameter, setMaintainer, setName, setVersion, shutdownModules, startModule, startModules, state |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Stats()
| Method Detail |
public void init()
ModuleModule.startModule(), which makes sure it is not called
more than once. You should not call init() directly, call startModule() instead.init in class ProcessorModulepublic void onload()
onload in class ProcessorModulepublic void unload()
unload in class ProcessorModulepublic void shutdown()
Moduleshutdown in class ProcessorModule
public java.util.Vector getList(scanpage sp,
StringTagger tagger,
java.lang.String value)
throws ParseException
getList in class ProcessorModuleorg.mmbase.module.ProcessorModulesp - the page contextparams - contains the attributes for the listcommand - the list command to execute.
public java.util.Vector doRange(java.util.StringTokenizer tok,
StringTagger tagger)
public boolean process(scanpage sp,
java.util.Hashtable cmds,
java.util.Hashtable vars)
process in class ProcessorModule
public java.lang.String replace(scanpage sp,
java.lang.String cmds)
replace in class ProcessorModulepublic java.lang.String getCount(java.lang.String number)
getCount in interface StatisticsInterfacepublic int getSliceNr(java.lang.String number)
public java.lang.String setAliasCount(java.lang.String alias,
int incr)
setAliasCount in interface StatisticsInterfacepublic java.lang.String getAliasNumber(java.lang.String alias)
public java.lang.String setCount(java.lang.String number,
int incr)
setCount in interface StatisticsInterfacepublic java.lang.String getModuleInfo()
ModulegetModuleInfo in class Modulepublic void checkDirty()
public void NewStat(java.lang.String name,
java.lang.String description,
int timeslices,
int timeinterval,
int timeslice,
java.lang.String data,
int inc)
NewStat in interface StatisticsInterfacepublic void maintainance()
maintainance in class Modulepublic boolean countSimpleEvent(java.lang.String eventname)
countSimpleEvent in interface StatisticsInterface
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||