public class PESessionLocker extends BaseSessionLocker
_context| Constructor and Description |
|---|
PESessionLocker()
Creates a new instance of PESessionLocker
|
PESessionLocker(Context ctx)
Creates a new instance of PESessionLocker
|
| Modifier and Type | Method and Description |
|---|---|
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
|
initpublic PESessionLocker()
public PESessionLocker(Context ctx)
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 - Copyright © 2019. All rights reserved.