public final class InvalidationQueue<T> extends ConcurrentLinkedQueue<T>
Constructor and Description |
---|
InvalidationQueue() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(T invalidation) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
offer(T invalidation) |
T |
poll() |
void |
release() |
T |
remove() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
boolean |
tryAcquire() |
contains, isEmpty, iterator, peek, spliterator, toArray, toArray
clear, element
containsAll, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, containsAll, equals, hashCode, parallelStream, removeIf, stream
public int size()
size
in interface Collection<T>
size
in class ConcurrentLinkedQueue<T>
public boolean offer(T invalidation)
public T poll()
public boolean tryAcquire()
public void release()
public boolean add(T invalidation)
add
in interface Collection<T>
add
in interface Queue<T>
add
in class ConcurrentLinkedQueue<T>
public T remove()
public boolean remove(Object o)
remove
in interface Collection<T>
remove
in class ConcurrentLinkedQueue<T>
public boolean addAll(Collection<? extends T> c)
addAll
in interface Collection<T>
addAll
in class ConcurrentLinkedQueue<T>
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<T>
removeAll
in class AbstractCollection<T>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<T>
retainAll
in class AbstractCollection<T>
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.