Hi,
we have a problem with session locking. Sometimes, the underlying
database just hangs and the response is not processed properly. The
problem is that HttpSession remains locked.
Wouldn't it be possible to replace the current locking mechanism
( synchronized(lock) { doEverything() } )
with something that would behave more like a mutex?
e.g.
Mutext mutex = getRequestTarget().getMutex();
mutex.lock();
processRequest();
mutex.unlock();
and the code running the operation could look like
RequestCycle().get().getReqeustTarget().getMutex().unlock();
doMySloooowOperation();
RequestCycle().get().getReqeustTarget().getMutex().lock();
-Matej
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop