Class GeneralCache.ObjectClassRecord

  • Enclosing class:
    GeneralCache

    protected class GeneralCache.ObjectClassRecord
    extends java.lang.Object
    This is a helper class for the ObjectClassTable. It maintains the data for an individual object class.
    • Constructor Detail

      • ObjectClassRecord

        public ObjectClassRecord()
    • Method Detail

      • getCurrentMemberCount

        public int getCurrentMemberCount()
      • removeEntry

        public void removeEntry​(GeneralCache.ObjectRecord x)
        Call this ONLY if it is known that the entry exists in the object class record!!!
      • addEntry

        public void addEntry​(GeneralCache.ObjectRecord x)
        Add a record to the end of the LRU list. Call this ONLY if it is known that the entry does NOT exist in the object class record!!!
      • getOldestEntry

        public GeneralCache.ObjectRecord getOldestEntry()
        Find the first (oldest) entry, or null if there is none.