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