public class DropIndexOptions extends Object
Constructor | Description |
---|---|
DropIndexOptionsβ() |
Modifier and Type | Method | Description |
---|---|---|
long |
getMaxTimeβ(TimeUnit timeUnit) |
Gets the maximum execution time on the server for this operation.
|
DropIndexOptions |
maxTimeβ(long maxTime,
TimeUnit timeUnit) |
Sets the maximum execution time on the server for this operation.
|
String |
toStringβ() |
public long getMaxTimeβ(TimeUnit timeUnit)
timeUnit
- the time unit to return the result inpublic DropIndexOptions maxTimeβ(long maxTime, TimeUnit timeUnit)
maxTime
- the max timetimeUnit
- the time unit, which may not be null