|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implemented by objects that represent threads running within the server.
AgiAdmServer
,
AgiAdmSession
Method Summary | |
AgiAdmSession |
getAssociatedSession()
Return the associated session, if any, and null otherwise. |
long |
getBusyTime()
Get the number of milliseconds the thread has been "busy" since it started. |
String |
getName()
Get the thread name. |
Date |
getStartDate()
Get the date/time the thread was started. |
String |
getState()
Get the current thread status. |
boolean |
hasAssociatedSession()
Check if the thread is currently associated with a session. |
Method Detail |
public String getName()
// Get the thread information. AgiAdmThread th = ... // Get the name of the thread. String name = th.getName();
public String getState()
// Get the thread information. AgiAdmThread th = ... // Get the state of the thread. String state = th.getState();
public Date getStartDate()
// Get the thread information. AgiAdmThread th = ... // Get the start date. Date startDate = th.getStartDate();
public long getBusyTime()
// Get the thread information. AgiAdmThread th = ... // Get the busy time. long busyTime = th.getBusyTime();
public boolean hasAssociatedSession()
// Get the thread information. AgiAdmThread th = ... // See if the thread has a session associated with it. boolean hasSess = th.hasAssociatedSession();
public AgiAdmSession getAssociatedSession()
// Get the thread information. AgiAdmThread th = ... // Get the information about the associated session. AgiAdmSession sess = th.getAssociatedSession(); if (sess != null) // ... process the session information...
AgiAdmSession
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |