| Isolated Client Session per Request [message #659819] |
Tue, 15 March 2011 13:37 |
Steve Willcox Messages: 4 Registered: July 2009 |
Junior Member |
|
|
Isolated client sessions can be created by setting a class's descriptor => descriptor.setIsIsolated(true);
Is it possible to create an isolated client session for all classes dynamically based on some condition (per thread)?
For example, some web requests based on a condition would create a isolated client session for all classes used in that request where all reads would read into the identity maps of the isolated cache and other web requests not meeting that condition would not be isolated and use the normal parent's shared cache to store read objects.
|
|
|
Powered by
FUDForum. Page generated in 0.01679 seconds