Skip navigation links
then-api 0.1.0
C I L O P R 

C

cancel(boolean) - Method in interface io.machinecode.then.api.OnCancel
 
cancel(boolean) - Method in interface io.machinecode.then.api.Promise
Called to attempt to stop the computation.
CANCELLED - Static variable in interface io.machinecode.then.api.Promise
 
CancelledException - Exception in io.machinecode.then.api
 
CancelledException(String) - Constructor for exception io.machinecode.then.api.CancelledException
 
complete(int) - Method in interface io.machinecode.then.api.OnComplete
 
CompletionException - Exception in io.machinecode.then.api
 
CompletionException(String) - Constructor for exception io.machinecode.then.api.CompletionException
 

I

io.machinecode.then.api - package io.machinecode.then.api
API of Then promises library.
isCancelled() - Method in interface io.machinecode.then.api.Promise
 
isDone() - Method in interface io.machinecode.then.api.Promise
 
isRejected() - Method in interface io.machinecode.then.api.Promise
 
isResolved() - Method in interface io.machinecode.then.api.Promise
 

L

ListenerException - Exception in io.machinecode.then.api
 
ListenerException(String, Throwable) - Constructor for exception io.machinecode.then.api.ListenerException
 
ListenerException(Throwable) - Constructor for exception io.machinecode.then.api.ListenerException
 

O

OnCancel - Interface in io.machinecode.then.api
Listener for a Promise entering a Promise.CANCELLED terminal state.
onCancel(OnCancel) - Method in interface io.machinecode.then.api.Promise
Triggered on any event after which Promise.isCancelled() will return true.
OnComplete - Interface in io.machinecode.then.api
Listener for a Promise entering a state where Promise.isDone() returns true.
onComplete(OnComplete) - Method in interface io.machinecode.then.api.Promise
Triggered on any event after which Promise.isDone() will return true; Will be fired in addition to the callback for the specific event.
onGet(Future<?>) - Method in interface io.machinecode.then.api.Promise
Triggered when Future.get(long, TimeUnit) or Future.get() is called.
OnReject<F extends Throwable> - Interface in io.machinecode.then.api
Listener for a Promise entering a Promise.REJECTED state.
onReject(OnReject<F>) - Method in interface io.machinecode.then.api.Promise
Triggered on any event after which Promise.isRejected() will return true.
OnResolve<T> - Interface in io.machinecode.then.api
Listener for a Promise entering a Promise.RESOLVED state.
onResolve(OnResolve<T>) - Method in interface io.machinecode.then.api.Promise
Triggered on any event after which Promise.isResolved() will return true.

P

PENDING - Static variable in interface io.machinecode.then.api.Promise
 
Promise<T,F extends Throwable> - Interface in io.machinecode.then.api
A representation of a computation allowing listeners to be notified of state changes.

R

reject(F) - Method in interface io.machinecode.then.api.OnReject
 
reject(F) - Method in interface io.machinecode.then.api.Promise
Called to indicate the failure of the computation this promise represents.
REJECTED - Static variable in interface io.machinecode.then.api.Promise
 
RejectedException - Exception in io.machinecode.then.api
 
RejectedException(String) - Constructor for exception io.machinecode.then.api.RejectedException
 
resolve(T) - Method in interface io.machinecode.then.api.OnResolve
 
resolve(T) - Method in interface io.machinecode.then.api.Promise
Called to indicate the successful completion of the computation this promise represents.
RESOLVED - Static variable in interface io.machinecode.then.api.Promise
 
ResolvedException - Exception in io.machinecode.then.api
 
ResolvedException(String) - Constructor for exception io.machinecode.then.api.ResolvedException
 
C I L O P R 
Skip navigation links
then-api 0.1.0

Copyright © 2014 MachineCode. All rights reserved.