Class MruMap.InnerMruList

  • All Implemented Interfaces:
    java.lang.Iterable, java.util.Collection, java.util.Set
    Enclosing class:
    MruMap

    private class MruMap.InnerMruList
    extends MruList
    For MruMap implementation
    Version:
    $Id: MruMap.java,v 1.3 2004/10/31 15:57:55 thlee Exp $ $Name: $
    Author:
    TiongHiang Lee (thlee@onemindsoft.org)
    • Constructor Detail

      • InnerMruList

        public InnerMruList​(long size,
                            long timeout)
        Constructor
        Parameters:
        size - the size
        timeout - the timeout
    • Method Detail

      • truncateEntry

        protected void truncateEntry​(java.lang.Object obj)
        Remove the object from the MruList
        Overrides:
        truncateEntry in class MruList
        Parameters:
        obj - the object
      • expireEntry

        protected void expireEntry​(java.lang.Object obj)
        Remove the entry from the MruList
        Overrides:
        expireEntry in class MruList
        Parameters:
        obj - expire the entry