Class EvictionTimer.PrivilegedNewEvictionTimer

  • 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Timer run()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrivilegedNewEvictionTimer

        private PrivilegedNewEvictionTimer()
    • Method Detail

      • run

        public java.util.Timer run()
        Specified by:
        run in interface java.security.PrivilegedAction<java.util.Timer>