LockType
- the type of lockspublic abstract class WaitQueue<LockType> extends Object implements Iterable<LockGrantFuture<LockType>>
Constructor and Description |
---|
WaitQueue()
Creates a new queue.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
dequeue(LockGrantFuture<LockType> r)
Removes a request from the queue.
|
protected abstract void |
enqueue(LockGrantFuture<LockType> r)
Adds a new request to the queue.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, iterator, spliterator
protected abstract void enqueue(LockGrantFuture<LockType> r)
r
- the requestprotected abstract void dequeue(LockGrantFuture<LockType> r)
r
- the request; if the request is not queued, then nothing
happensCopyright © 2015. All rights reserved.