TResult - The type of the result.public interface ListDatabasesIterable<TResult> extends MongoIterable<TResult>
| 限定符和类型 | 方法和说明 |
|---|---|
ListDatabasesIterable<TResult> |
batchSize(int batchSize)
Sets the number of documents to return per batch.
|
ListDatabasesIterable<TResult> |
maxTime(long maxTime,
java.util.concurrent.TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
ListDatabasesIterable<TResult> maxTime(long maxTime, java.util.concurrent.TimeUnit timeUnit)
maxTime - the max timetimeUnit - the time unit, which may not be nullListDatabasesIterable<TResult> batchSize(int batchSize)
batchSize 在接口中 MongoIterable<TResult>batchSize - the batch size