Class Cache<E>

    • Constructor Detail

      • Cache

        public Cache()
    • Method Detail

      • setCacheMonitor

        public void setCacheMonitor​(ICacheMonitor cacheMonitor)
      • getCacheProbe

        protected ICacheProbe getCacheProbe()
      • getReferenceQueue

        protected java.lang.ref.ReferenceQueue<E> getReferenceQueue()
      • doBeforeActivate

        protected void doBeforeActivate()
                                 throws java.lang.Exception
        Overrides:
        doBeforeActivate in class Lifecycle
        Throws:
        java.lang.Exception
      • doActivate

        protected void doActivate()
                           throws java.lang.Exception
        Overrides:
        doActivate in class Worker
        Throws:
        java.lang.Exception
      • doDeactivate

        protected void doDeactivate()
                             throws java.lang.Exception
        Overrides:
        doDeactivate in class Worker
        Throws:
        java.lang.Exception
      • work

        protected void work​(Worker.WorkContext context)
                     throws java.lang.Exception
        Specified by:
        work in class Worker
        Throws:
        java.lang.Exception
      • unreachableElement

        protected void unreachableElement​(java.lang.ref.Reference<? extends E> reference)
      • unreachableElement

        protected void unreachableElement​(E element)