java.lang.Object
io.qt.core.QFuture<T>
Represents the result of an asynchronous computation
Java wrapper for Qt class QFuture
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
cancel()
clone()
boolean
int
hashCode()
final boolean
final boolean
final boolean
isPaused()
Deprecated.Use isSuspending() or isSuspended() instead.final boolean
isResultReadyAt
(int resultIndex) final boolean
final boolean
final boolean
final boolean
iterator()
onCanceled
(QObject context, Runnable function) onCanceled
(QObject context, Supplier<T> function) onCanceled
(Runnable function) onCanceled
(Supplier<T> function) final void
pause()
Deprecated.Use suspend() instead.final int
final int
final String
final int
final T
result()
final T
resultAt
(int index) final int
results()
final void
resume()
final void
setPaused
(boolean paused) Deprecated.Use setSuspended() instead.final void
setSuspended
(boolean suspended) final void
suspend()
<R> QFuture<R>
then
(QtFuture.Launch policy, Consumer<QFuture<T>> function) <R> QFuture<R>
then
(QtFuture.Launch policy, Function<QFuture<T>, R> function) then
(QThreadPool pool, Consumer<QFuture<T>> function) <R> QFuture<R>
then
(QThreadPool pool, Function<QFuture<T>, R> function) <R> QFuture<R>
final void
Deprecated.Use toggleSuspended() instead.final void
final void
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
QFuture
public QFuture() -
QFuture
-
-
Method Details
-
cancel
-
isCanceled
-
isFinished
-
isPaused
Deprecated.Use isSuspending() or isSuspended() instead. -
isSuspended
-
isSuspending
-
isResultReadyAt
-
isRunning
-
isStarted
-
pause
Deprecated.Use suspend() instead.See QFuture::pause()
-
suspend
-
progressMaximum
-
progressMinimum
-
progressText
-
progressValue
-
result
-
resultAt
-
resultCount
-
results
-
resume
-
setPaused
Deprecated.Use setSuspended() instead. -
setSuspended
-
togglePaused
Deprecated.Use toggleSuspended() instead. -
toggleSuspended
-
waitForFinished
-
iterator
-
equals
-
hashCode
-
clone
-
then
-
then
-
then
-
then
-
then
-
then
-
onFailed
-
onCanceled
-
onFailed
-
onCanceled
-
then
-
then
-
onFailed
-
onCanceled
-
onFailed
-
onCanceled
-