org.apache.derby.impl.services.locks
Class LockTableVTI
java.lang.Object
org.apache.derby.impl.services.locks.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.
Constructor Summary |
LockTableVTI(java.util.Map clonedLockTable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
outerControl
private final java.util.Iterator outerControl
control
private Control control
grantedList
private java.util.ListIterator grantedList
waitingList
private java.util.ListIterator waitingList
nextLock
private Latch nextLock
LockTableVTI
LockTableVTI(java.util.Map clonedLockTable)
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
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.