@Beta public abstract class PredicateCallable<Result> extends Object implements PredicateWithResult<Void,Result>, Callable<Result>
| Constructor and Description |
|---|
PredicateCallable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Void input) |
Throwable |
getLastFailure() |
Result |
getResult() |
protected boolean |
isAcceptable(Result result) |
protected void |
onCompletion() |
protected void |
onFailure() |
public boolean apply(Void input)
apply in interface com.google.common.base.Predicate<Void>protected void onFailure()
protected void onCompletion()
protected boolean isAcceptable(Result result)
public Result getResult()
getResult in interface PredicateWithResult<Void,Result>public Throwable getLastFailure()
getLastFailure in interface PredicateWithResult<Void,Result>Copyright © 2009-2012 jclouds. All Rights Reserved.