public class FiberMongoUtils extends Object
Utility classes for callbacks (async-to-fiberblocking briding)
| Constructor and Description |
|---|
FiberMongoUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Callback<T> |
callbackSettingFuture(SettableFuture<T> future)
Builds a new Async Java Mongo Driver callback that will set a future upon completion or failure
|
public static <T> Callback<T> callbackSettingFuture(SettableFuture<T> future)
Builds a new Async Java Mongo Driver callback that will set a future upon completion or failure
T - future -