com.google.appengine.tools.development.testing

## Interface LocalServiceTestHelper.RequestMillisTimer

- Enclosing class:
    LocalServiceTestHelper

      public static interface LocalServiceTestHelper.RequestMillisTimer

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static LocalServiceTestHelper.RequestMillisTimer` | `DEFAULT` The Timer instance used by local services if no override is provided via `LocalServiceTestHelper.setRemainingMillisTimer(RequestMillisTimer)`.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getRemainingMillis()`

- - ### Field Detail

    - #### DEFAULT

          static final LocalServiceTestHelper.RequestMillisTimer DEFAULT

      The Timer instance used by local services if no override is provided via `LocalServiceTestHelper.setRemainingMillisTimer(RequestMillisTimer)`.

  - ### Method Detail

    - #### getRemainingMillis

          long getRemainingMillis()

      Returns:
        The amount of time that the `ApiProxy.Environment` should say is left in the request. Expressed in milliseconds. If infinite time is allowed, then reply with `Long.MAX_VALUE`.