Class StackMap<V extends Identifiable>
- java.lang.Object
- 
- java.util.AbstractCollection<E>
- 
- java.util.AbstractQueue<E>
- 
- java.util.concurrent.LinkedBlockingQueue<V>
- 
- edu.uiuc.ncsa.security.storage.sql.StackMap<V>
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Iterable<V>,- Collection<V>,- BlockingQueue<V>,- Queue<V>
 
 public class StackMap<V extends Identifiable> extends LinkedBlockingQueue<V> This will block until the capacity drops below max.Created by Jeff Gaynor 
 on 5/11/21 at 8:49 AM- See Also:
- Serialized Form
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()HashMap<Identifier,V>getMap()Vpoll()Vpoll(long timeout, TimeUnit unit)voidput(V v)booleanremove(Object o)Vtake()- 
Methods inherited from class java.util.concurrent.LinkedBlockingQueuecontains, drainTo, drainTo, forEach, iterator, offer, offer, peek, remainingCapacity, removeAll, removeIf, retainAll, size, spliterator, toArray, toArray, toString
 - 
Methods inherited from class java.util.AbstractQueueadd, addAll, element, remove
 - 
Methods inherited from class java.util.AbstractCollectioncontainsAll, isEmpty
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface java.util.concurrent.BlockingQueueadd
 - 
Methods inherited from interface java.util.CollectionaddAll, containsAll, equals, hashCode, isEmpty, parallelStream, stream, toArray
 
- 
 
- 
- 
- 
Method Detail- 
getMappublic HashMap<Identifier,V> getMap() 
 - 
removepublic boolean remove(Object o) - Specified by:
- removein interface- BlockingQueue<V extends Identifiable>
- Specified by:
- removein interface- Collection<V extends Identifiable>
- Overrides:
- removein class- LinkedBlockingQueue<V extends Identifiable>
 
 - 
takepublic V take() throws InterruptedException - Specified by:
- takein interface- BlockingQueue<V extends Identifiable>
- Overrides:
- takein class- LinkedBlockingQueue<V extends Identifiable>
- Throws:
- InterruptedException
 
 - 
pollpublic V poll() - Specified by:
- pollin interface- Queue<V extends Identifiable>
- Overrides:
- pollin class- LinkedBlockingQueue<V extends Identifiable>
 
 - 
pollpublic V poll(long timeout, TimeUnit unit) throws InterruptedException - Specified by:
- pollin interface- BlockingQueue<V extends Identifiable>
- Overrides:
- pollin class- LinkedBlockingQueue<V extends Identifiable>
- Throws:
- InterruptedException
 
 - 
putpublic void put(V v) throws InterruptedException - Specified by:
- putin interface- BlockingQueue<V extends Identifiable>
- Overrides:
- putin class- LinkedBlockingQueue<V extends Identifiable>
- Throws:
- InterruptedException
 
 - 
clearpublic void clear() - Specified by:
- clearin interface- Collection<V extends Identifiable>
- Overrides:
- clearin class- LinkedBlockingQueue<V extends Identifiable>
 
 
- 
 
-