Package akka.dispatch
Class OnSuccess<T>
- java.lang.Object
 - 
- scala.runtime.AbstractPartialFunction<T,scala.runtime.BoxedUnit>
 - 
- akka.dispatch.japi.CallbackBridge<T>
 - 
- akka.dispatch.OnSuccess<T>
 
 
 
 
- 
- All Implemented Interfaces:
 scala.Function1<T,scala.runtime.BoxedUnit>,scala.PartialFunction<T,scala.runtime.BoxedUnit>
public abstract class OnSuccess<T> extends japi.CallbackBridge<T>
Callback for when a Future is completed successfully SAM (Single Abstract Method) classJava API
 
- 
- 
Constructor Summary
Constructors Constructor Description OnSuccess() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidinternal(T result)abstract voidonSuccess(T result)This method will be invoked once when/if a Future that this callback is registered on becomes successfully completed- 
Methods inherited from class akka.dispatch.japi.CallbackBridge
apply, isDefinedAt 
- 
Methods inherited from class scala.runtime.AbstractPartialFunction
andThen, andThen, apply$mcDD$sp, apply$mcDF$sp, apply$mcDI$sp, apply$mcDJ$sp, apply$mcFD$sp, apply$mcFF$sp, apply$mcFI$sp, apply$mcFJ$sp, apply$mcID$sp, apply$mcIF$sp, apply$mcII$sp, apply$mcIJ$sp, apply$mcJD$sp, apply$mcJF$sp, apply$mcJI$sp, apply$mcJJ$sp, apply$mcVD$sp, apply$mcVF$sp, apply$mcVI$sp, apply$mcVJ$sp, apply$mcZD$sp, apply$mcZF$sp, apply$mcZI$sp, apply$mcZJ$sp, applyOrElse, compose, compose, elementWise, lift, orElse, runWith, toString, unapply 
 - 
 
 - 
 
- 
- 
Method Detail
- 
internal
protected final void internal(T result)
- Overrides:
 internalin classjapi.CallbackBridge<T>
 
- 
onSuccess
public abstract void onSuccess(T result) throws java.lang.Throwable
This method will be invoked once when/if a Future that this callback is registered on becomes successfully completed- Throws:
 java.lang.Throwable
 
 - 
 
 -