|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.catalina.session.BaseSessionLocker
com.sun.enterprise.web.PESessionLocker
public class PESessionLocker
| Field Summary |
|---|
| Fields inherited from class org.apache.catalina.session.BaseSessionLocker |
|---|
_context |
| Constructor Summary | |
|---|---|
PESessionLocker()
Creates a new instance of PESessionLocker |
|
PESessionLocker(Context ctx)
Creates a new instance of PESessionLocker |
|
| Method Summary | |
|---|---|
boolean |
lockSession(javax.servlet.ServletRequest request)
lock the session associated with this request this will be a foreground lock checks for background lock to clear and does a decay poll loop to wait until it is clear; after 5 times it takes control for the foreground |
protected void |
threadSleep(long sleepTime)
|
void |
unlockSession(javax.servlet.ServletRequest request)
unlock the session associated with this request |
| Methods inherited from class org.apache.catalina.session.BaseSessionLocker |
|---|
init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.catalina.SessionLocker |
|---|
init |
| Constructor Detail |
|---|
public PESessionLocker()
public PESessionLocker(Context ctx)
| Method Detail |
|---|
public boolean lockSession(javax.servlet.ServletRequest request)
throws javax.servlet.ServletException
lockSession in interface SessionLockerlockSession in class BaseSessionLockerrequest -
javax.servlet.ServletExceptionprotected void threadSleep(long sleepTime)
public void unlockSession(javax.servlet.ServletRequest request)
unlockSession in interface SessionLockerunlockSession in class BaseSessionLockerrequest -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||