|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sibvisions.rad.server.Monitoring
public final class Monitoring
The Monitoring
class will be used as server-side object for
administer the communication server.
The object must be injected to a life-cycle object before it's usable.
You can inject the object with the following definition
@Inject(origin = "server", name = "monitoring") private Monitoring monitoring = null;
Constructor Summary | |
---|---|
Monitoring(Server pServer)
Creates an instance of Monitoring for a specific
communication server. |
Method Summary | |
---|---|
void |
closeConnections(java.lang.String pApplicationName)
Close all connections for a specific application. |
java.lang.Object |
getLastDestroyedSessionId()
Gets the id of the last destroyed session. |
ArrayUtil<java.lang.Object> |
getMasterSessionIds()
Gets all available master session ids. |
ArrayUtil<java.lang.Object> |
getMasterSessionIds(java.lang.String pApplicationName)
Gets all available master session ids for a specific application. |
long |
getServerStartupTime()
Gets the startup time of the server. |
int |
getSessionCount()
Gets the number of opened sessions. |
ArrayUtil<java.lang.Object> |
getSessionIds()
Gets the session identifiers of all currently opened sessions. |
ArrayUtil<java.lang.Object> |
getSubSessionIds(java.lang.Object pSessionId)
Gets all available sub sessions for the given master session. |
void |
releaseSecurityManager(java.lang.String pApplicationName)
Releases the security manger for a specific application. |
void |
sessionCreated(ISession pSession)
Invoked when a session was created and is ready to use. |
void |
sessionDestroyed(ISession pSession)
Invoked when a session was destroyed an can not be used anymore. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Monitoring(Server pServer)
Monitoring
for a specific
communication server.
pServer
- the communication serverMethod Detail |
---|
public void sessionCreated(ISession pSession)
sessionCreated
in interface ISessionListener
pSession
- the newly created sessionpublic void sessionDestroyed(ISession pSession)
sessionDestroyed
in interface ISessionListener
pSession
- the destroyed sessionpublic long getServerStartupTime()
public int getSessionCount()
public java.lang.Object getLastDestroyedSessionId()
public ArrayUtil<java.lang.Object> getSessionIds()
public ArrayUtil<java.lang.Object> getMasterSessionIds()
public ArrayUtil<java.lang.Object> getMasterSessionIds(java.lang.String pApplicationName)
pApplicationName
- the application name
public ArrayUtil<java.lang.Object> getSubSessionIds(java.lang.Object pSessionId)
pSessionId
- the master session id
public void closeConnections(java.lang.String pApplicationName)
pApplicationName
- the application namepublic void releaseSecurityManager(java.lang.String pApplicationName)
pApplicationName
- the application name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |