|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.util.UtlPoolRegistry
public final class UtlPoolRegistry
Stores operating object pool objects.
The pool registry is a singleton class that stores operating pool objects in an X Platform application. Each pool is uniquely identified in the system by a type and name which together form unique system-wide pool key. The pool is added to the registry when the pool is created and is never removed from the registry for the lifetime of the application.
The purpose of the pool statistics registry is to enable a user to query for pools by name and get information from the pool or start and stop the periodic output of the pool's statistical information in a human readble string format.
This class IS NOT intended to be used by end users.
Nested Class Summary | |
---|---|
static interface |
UtlPoolRegistry.EventHandler
Identifies a pool registry event handler The pool registry dispatches registry through handlers of this type. |
Method Summary | |
---|---|
UtlPool<?> |
get(String name)
Get a pool from the registry. |
static UtlPoolRegistry |
getInstance()
Return the singleton pool registry instance |
cern.colt.list.ObjectArrayList |
getValues(UtlPoolRegistry.EventHandler eventHandler)
Return a list containing the set of pool objects in the registry. |
void |
removeHandler(UtlPoolRegistry.EventHandler eventHandler)
Removes a previously registered event handler. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static UtlPoolRegistry getInstance()
public final UtlPool<?> get(String name)
name
- The fully qualified name of the pool.public final cern.colt.list.ObjectArrayList getValues(UtlPoolRegistry.EventHandler eventHandler)
eventHandler
- Installs the provided event handler to receive
notifications for pools added after this call returns. This parameter
can be null.
This method returns a copy of the set of pool objects in the registry and, optionally, installs a handler to watch for new objects.
public final void removeHandler(UtlPoolRegistry.EventHandler eventHandler)
eventHandler
- Removes a previously registered event handler.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |