|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectscala.runtime.AbstractPartialFunction<java.lang.Throwable,T>
akka.dispatch.japi.RecoverBridge<T>
akka.dispatch.Recover<T>
public abstract class Recover<T>
Callback for the Future.recover operation that conditionally turns failures into successes.
SAM (Single Abstract Method) class
Java API
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface scala.PartialFunction |
|---|
scala.PartialFunction.AndThen<A,B,C>, scala.PartialFunction.Lifted<A,B>, scala.PartialFunction.OrElse<A,B>, scala.PartialFunction.Unlifted<A,B> |
| Constructor Summary | |
|---|---|
Recover()
|
|
| Method Summary | |
|---|---|
protected T |
internal(java.lang.Throwable result)
|
abstract T |
recover(java.lang.Throwable failure)
This method will be invoked once when/if the Future this recover callback is registered on becomes completed with a failure. |
| Methods inherited from class akka.dispatch.japi.RecoverBridge |
|---|
apply, isDefinedAt |
| Methods inherited from class scala.runtime.AbstractPartialFunction |
|---|
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, lift, orElse, runWith, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Recover()
| Method Detail |
|---|
protected final T internal(java.lang.Throwable result)
internal in class japi.RecoverBridge<T>public abstract T recover(java.lang.Throwable failure)
the - passed in failure to propagate it.
Java API
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||