Package io.camunda.zeebe.scheduler
Class ClosedQueue
java.lang.Object
io.camunda.zeebe.scheduler.ClosedQueue
- All Implemented Interfaces:
Iterable<ActorJob>,Collection<ActorJob>,Deque<ActorJob>,Queue<ActorJob>,SequencedCollection<ActorJob>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends ActorJob> c) voidvoidvoidclear()booleanbooleancontainsAll(Collection<?> c) element()getFirst()getLast()booleanisEmpty()iterator()booleanbooleanofferFirst(ActorJob actorJob) booleanpeek()peekLast()poll()pollLast()pop()voidremove()booleanbooleanremoveAll(Collection<?> c) booleanbooleanbooleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Constructor Details
-
ClosedQueue
public ClosedQueue()
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<ActorJob>
-
contains
-
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection<ActorJob>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<ActorJob>
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<ActorJob>
-
addAll
-
removeAll
- Specified by:
removeAllin interfaceCollection<ActorJob>
-
retainAll
- Specified by:
retainAllin interfaceCollection<ActorJob>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<ActorJob>
-
add
-
offer
-
remove
-
poll
-
element
-
peek
-
addFirst
-
addLast
-
offerFirst
- Specified by:
offerFirstin interfaceDeque<ActorJob>
-
offerLast
-
removeFirst
- Specified by:
removeFirstin interfaceDeque<ActorJob>- Specified by:
removeFirstin interfaceSequencedCollection<ActorJob>
-
removeLast
- Specified by:
removeLastin interfaceDeque<ActorJob>- Specified by:
removeLastin interfaceSequencedCollection<ActorJob>
-
pollFirst
-
pollLast
-
getFirst
-
getLast
-
peekFirst
-
peekLast
-
removeFirstOccurrence
- Specified by:
removeFirstOccurrencein interfaceDeque<ActorJob>
-
removeLastOccurrence
- Specified by:
removeLastOccurrencein interfaceDeque<ActorJob>
-
push
-
pop
-
descendingIterator
- Specified by:
descendingIteratorin interfaceDeque<ActorJob>
-