org.apache.solr.util

## Class TimeOut

- java.lang.Object
- - org.apache.solr.util.TimeOut

-     public class TimeOut
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TimeOut(long interval, TimeUnit unit)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasTimedOut()`
    `long` | `timeLeft(TimeUnit unit)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TimeOut

          public TimeOut(long interval,
                         TimeUnit unit)

  - ### Method Detail

    - #### hasTimedOut

          public boolean hasTimedOut()

    - #### timeLeft

          public long timeLeft(TimeUnit unit)

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.