Package io.vertx.mongo.client
Class ListIndexesOptions
- java.lang.Object
-
- io.vertx.mongo.client.ListIndexesOptions
-
public class ListIndexesOptions extends java.lang.ObjectOptions for ListIndexes.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description ListIndexesOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetBatchSize()java.lang.LonggetMaxTime()ListIndexesOptionssetBatchSize(java.lang.Integer batchSize)Sets the number of documents to return per batch.ListIndexesOptionssetMaxTime(java.lang.Long maxTime)Sets the maximum execution time on the server for this operation.
-
-
-
Method Detail
-
setMaxTime
public ListIndexesOptions setMaxTime(java.lang.Long maxTime)
Sets the maximum execution time on the server for this operation.- Parameters:
maxTime- the max time (in milliseconds)- Returns:
- this
- MongoDB documentation
- Max Time
-
getMaxTime
public java.lang.Long getMaxTime()
-
setBatchSize
public ListIndexesOptions setBatchSize(java.lang.Integer batchSize)
Sets the number of documents to return per batch.Overrides the
Subscription.request(long)value for setting the batch size, allowing for fine grained control over the underlying cursor.- Parameters:
batchSize- the batch size- Returns:
- this
- Since:
- 1.8
- MongoDB documentation
- Batch Size
-
getBatchSize
public java.lang.Integer getBatchSize()
-
-