public class EstimatedDocumentCountOptions
extends java.lang.Object
| Constructor and Description |
|---|
EstimatedDocumentCountOptions() |
| Modifier and Type | Method and Description |
|---|---|
long |
getMaxTime(java.util.concurrent.TimeUnit timeUnit)
Gets the maximum execution time on the server for this operation.
|
EstimatedDocumentCountOptions |
maxTime(long maxTime,
java.util.concurrent.TimeUnit timeUnit)
Sets the maximum execution time on the server for this operation.
|
java.lang.String |
toString() |
public long getMaxTime(java.util.concurrent.TimeUnit timeUnit)
timeUnit - the time unit to return the result inpublic EstimatedDocumentCountOptions maxTime(long maxTime, java.util.concurrent.TimeUnit timeUnit)
maxTime - the max timetimeUnit - the time unit, which may not be nullpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved