Class OSQLNonBlockingQuery.ONonBlockingQueryFuture
java.lang.Object
com.orientechnologies.orient.core.sql.query.OSQLNonBlockingQuery.ONonBlockingQueryFuture
- Enclosing class:
- OSQLNonBlockingQuery<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends Future> c) booleanaddAll(Collection<? extends Future> c) booleancancel(boolean mayInterruptIfRunning) voidclear()booleanbooleancontainsAll(Collection<?> c) get()get(int index) intbooleanbooleanisDone()booleanisEmpty()booleaniterator()intlistIterator(int index) remove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()subList(int fromIndex, int toIndex) 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
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Field Details
-
finished
protected volatile boolean finished
-
-
Constructor Details
-
ONonBlockingQueryFuture
public ONonBlockingQueryFuture()
-
-
Method Details
-
cancel
public boolean cancel(boolean mayInterruptIfRunning) -
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceFuture
-
isDone
public boolean isDone() -
get
- Specified by:
getin interfaceFuture- Throws:
InterruptedExceptionExecutionException
-
get
public Object get(long timeout, TimeUnit unit) throws InterruptedException, ExecutionException, TimeoutException - Specified by:
getin interfaceFuture- Throws:
InterruptedExceptionExecutionExceptionTimeoutException
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<Future>- Specified by:
containsAllin interfaceList<Future>
-
addAll
-
addAll
-
removeAll
-
retainAll
-
clear
public void clear() -
get
-
isIdempotent
public boolean isIdempotent() -
set
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<Future>
-
listIterator
- Specified by:
listIteratorin interfaceList<Future>
-
listIterator
- Specified by:
listIteratorin interfaceList<Future>
-
subList
-