Class LegacyPromise<T>
java.lang.Object
com.ticxo.modelengine.api.utils.promise.AbstractPromise<T>
com.ticxo.modelengine.api.utils.promise.LegacyPromise<T>
-
Method Summary
Modifier and TypeMethodDescriptionprotected <U> AbstractPromise<U>
protected void
executeAsync
(Runnable runnable) protected void
executeAsync
(Runnable runnable, int delay) protected void
executeSync
(Runnable runnable) protected void
executeSync
(Runnable runnable, int delay) Methods inherited from class com.ticxo.modelengine.api.utils.promise.AbstractPromise
cancel, get, get, isCancelled, isDone, runAsync, runAsyncDelay, runSync, runSyncDelay, supplyAsync, supplyAsyncDelay, supplySync, supplySyncDelay, thenApplyAsync, thenApplyAsyncDelay, thenApplySync, thenApplySyncDelay
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ticxo.modelengine.api.utils.promise.Promise
thenAcceptAsync, thenAcceptAsyncDelay, thenAcceptSync, thenAcceptSyncDelay, thenRunAsync, thenRunAsyncDelay, thenRunSync, thenRunSyncDelay
-
Method Details
-
createEmpty
- Specified by:
createEmpty
in classAbstractPromise<T>
-
executeSync
- Specified by:
executeSync
in classAbstractPromise<T>
-
executeSync
- Specified by:
executeSync
in classAbstractPromise<T>
-
executeAsync
- Specified by:
executeAsync
in classAbstractPromise<T>
-
executeAsync
- Specified by:
executeAsync
in classAbstractPromise<T>
-