- All Implemented Interfaces:
- java.security.PrivilegedAction<java.util.Timer>
- Enclosing class:
- EvictionTimer
private static class EvictionTimer.PrivilegedNewEvictionTimer
extends java.lang.Object
implements java.security.PrivilegedAction<java.util.Timer>
PrivilegedAction used to create a new Timer. Creating the timer
with a privileged action means the associated Thread does not inherit the
current access control context. In a container environment, inheriting
the current access control context is likely to result in retaining a
reference to the thread context class loader which would be a memory
leak.