Package com.mongodb.client.model
Class CreateIndexOptions
java.lang.Object
com.mongodb.client.model.CreateIndexOptions
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The options to apply to the command when creating indexes.
- Since:
- 3.6
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getMaxTime
(TimeUnit timeUnit) Deprecated.Gets the maximum execution time on the server for this operation.Deprecated.Sets the maximum execution time on the server for this operation.toString()
Deprecated.
-
Constructor Details
-
CreateIndexOptions
public CreateIndexOptions()Deprecated.
-
-
Method Details
-
getMaxTime
Deprecated.Gets the maximum execution time on the server for this operation. The default is 0, which places no limit on the execution time.- Parameters:
timeUnit
- the time unit to return the result in- Returns:
- the maximum execution time in the given time unit
-
maxTime
Deprecated.Sets the maximum execution time on the server for this operation.- Parameters:
maxTime
- the max timetimeUnit
- the time unit, which may not be null- Returns:
- this
-
toString
Deprecated.
-