TResult
- The type of the result.public interface ListDatabasesObservable<TResult> extends MongoObservable<TResult>
Modifier and Type | Method and Description |
---|---|
ListDatabasesObservable<TResult> |
maxTime(long maxTime,
TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
subscribe, toObservable
ListDatabasesObservable<TResult> maxTime(long maxTime, TimeUnit timeUnit)
maxTime
- the max timetimeUnit
- the time unit, which may not be null