LocalServiceTestHelper.RequestMillisTimer
Stay organized with collections
Save and categorize content based on your preferences.
-
-
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
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-15 UTC."],[[["`LocalServiceTestHelper.RequestMillisTimer` is an interface within the `com.google.appengine.tools.development.testing` package."],["This interface provides a way to manage the remaining request time within the local service testing environment."],["The `DEFAULT` field is a static instance of `RequestMillisTimer` used by local services when no other timer is specified via `LocalServiceTestHelper.setRemainingMillisTimer`."],["The `getRemainingMillis()` method allows you to retrieve the amount of time remaining in a request, in milliseconds, or `Long.MAX_VALUE` if infinite time is permitted."]]],[]]