driver-core/src/main/com/mongodb/operation/ListIndexesOperation.java
public long getMaxTime(final TimeUnit timeUnit) {
        notNull("timeUnit", timeUnit);
        return timeUnit.convert(maxTimeMS, TimeUnit.MILLISECONDS);
    }
public long getMaxTime(final TimeUnit timeUnit) {
        notNull("timeUnit", timeUnit);
        return timeUnit.convert(maxTimeMS, TimeUnit.MILLISECONDS);
    }
Gets the maximum execution time on the server for this operation.  The default is 0, which places no limit on the execution time.

@param timeUnit the time unit to return the result in
@return the maximum execution time in the given time unit
@mongodb.driver.manual reference/operator/meta/maxTimeMS/ Max Time