Class LockTableVTI

  • All Implemented Interfaces:
    java.util.Enumeration

    class LockTableVTI
    extends java.lang.Object
    implements java.util.Enumeration
    This provides an Enumeration of Latch's from a clone of the lock table. A Latch is badly named, it represents lock information.
    • Field Detail

      • outerControl

        private final java.util.Iterator outerControl
      • grantedList

        private java.util.ListIterator grantedList
      • waitingList

        private java.util.ListIterator waitingList
      • nextLock

        private Latch nextLock
    • Constructor Detail

      • LockTableVTI

        LockTableVTI​(java.util.Map clonedLockTable)
    • Method Detail

      • hasMoreElements

        public boolean hasMoreElements()
        Specified by:
        hasMoreElements in interface java.util.Enumeration
      • getNextLock

        private Latch getNextLock​(Control control)
      • nextElement

        public java.lang.Object nextElement()
        Specified by:
        nextElement in interface java.util.Enumeration