|Subject||Re: [Firebird-Java] Invalidating Cache|
> Anyway, I would like to implement a BlockingStack class that willWhat about taking the source of a LinkedQueue and adding a constructor with
> provide LIFO functionality with blocking when empty. If you can think of
> another alternative please let me know. Thanks.
a parameter specifying the behavior for insert(Object) and extract()
methods? Those seems to be the only methods working with the first/last
linked nodes. License is "public domain", we can add this code to our source
tree (and remove the dependency on concurrent.jar too).
for the source code.
What do you think?