Interface PlatformListenable
-
public interface PlatformListenablePlatform listenable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancancel()Cancel this instance.booleanisCancelled()Returns true if this listenable was canceled before completion.voidlisten(IgniteBiInClosure<Object,Throwable> lsnr)Listen.
-
-
-
Method Detail
-
listen
void listen(IgniteBiInClosure<Object,Throwable> lsnr)
Listen.- Parameters:
lsnr- Listener.
-
cancel
boolean cancel() throws IgniteCheckedExceptionCancel this instance.- Returns:
- True if canceled.
- Throws:
IgniteCheckedException
-
isCancelled
boolean isCancelled()
Returns true if this listenable was canceled before completion.- Returns:
- True if this listenable was canceled before completion.
-
-