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