org.apache.derby.impl.services.locks
Class LockTableVTI

java.lang.Object
  extended by 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.


Field Summary
private  Control control
           
private  java.util.ListIterator grantedList
           
private  Latch nextLock
           
private  java.util.Iterator outerControl
           
private  java.util.ListIterator waitingList
           
 
Constructor Summary
LockTableVTI(java.util.Map clonedLockTable)
           
 
Method Summary
private  Latch getNextLock(Control control)
           
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
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

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.