Package com.google.apphosting.api
package com.google.apphosting.api
Provides access to the ApiProxy, which dispatches API calls to backend services.
-
ClassDescriptionApiProxy is a static class that serves as the collection point for all API calls from user code into the application server.
ApiConfigencapsulates one or more configuration parameters scoped to an individual API call.An exception produced when trying to perform an API call.A subtype ofFuturethat provides more detailed information about the timing and resource consumption of particular API calls.ApiProxy.Delegate<E extends ApiProxy.Environment>This interface can be used to provide a class that actually implements API calls.Environment is a simple data container that provides additional information about the current request (e.g.Used to create an Environment object to use if no thread local Environment is set.A specialization of Environment with call-tracing metadata.LogRecordrepresents a single apphosting log entry, including a Java-specific logging level, a timestamp in microseconds, and a message, which is a formatted string containing the rest of the logging information (e.g.An exception whose cause is not known or understood by the API code.Represents automatic statistics collected by the ApiProxy.Holds the current trace context visible to user code.Stores tracing context including IDs and settings.DeadlineExceededExceptionis an unchecked exception thrown whenever a request has exceeded the request deadline (e.g.