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

java.lang.Object
  extended byorg.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  LockSet clonedLockTable
           
private  Control control
           
private  java.util.ListIterator grantedList
           
private  Latch nextLock
           
private  java.util.Enumeration outerControl
           
private  java.util.ListIterator waitingList
           
 
Constructor Summary
(package private) LockTableVTI(LockSet 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

clonedLockTable

private final LockSet clonedLockTable

outerControl

private final java.util.Enumeration 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(LockSet 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 Tue 2006-10-10 19:23:47+0200, from revision exported

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.