Package com.google.apphosting.runtime
package com.google.apphosting.runtime
-
ClassDescription
ApiDeadlineOracledetermines the appropriate deadline for API calls based on the user-specified deadline, the per-package maximum and default deadlines, and the fallthrough maximum and default deadlines.Build an ApiDeadlineOracle.Deadlines for one instance type (offline or online).Make an APIHostClientInterface.ApiProxyImpl is a concrete implementation of the ApiProxy.Delegate interface.Builder for ApiProxyImpl.Config.A thread created by {@code ThreadManager.currentRequestThreadFactory().To implement ApiProxy.Environment, we use a class that wraps around an UPRequest and retrieves the necessary information from it.AppsLogWriteris responsible for batching application logs for a single request and sending them back to the AppServer via the LogService.Flush API call and the final return from the request RPC.AppVersionencapsulates the configuration information associated with one version of a particular application.Builder for AppVersion.AppVersionFactoryconstructs instances ofAppVersion.Builder for AppVersionFactory.BackgroundRequestCoordinator facilitates the exchange of two pieces of data between the backgroundThreadFactoryand theJavaRuntimecode that processes the fake request.CloneControllerImplimplements theCloneControllerServerInterfaceRPC interface.Callback interface for rpc-specific and sandbox-specific functionality to be abstracted over in this class.Set the default character encoding.HardDeadlineExceededErroris an error that is thrown when a user request has exceeded its hard limit.A class in charge of compressing request responses at the HTTP protocol buffer level.JavaRuntime implements the Prometheus EvaluationRuntime service.Builder for JavaRuntime.Creates a newJavaRuntime.JettyConstantscentralizes some constants that are specific to our use of Jetty.A log handler that publishes log messages in a json format.Configures logging for the GAE Java Runtime.LogHandleris installed on the root logger.A mutable object that exports an interface similar toRuntimePb.UPResponse.Builderbut that is thread-safe.Performs the diversion of java.net services to use the App Engine Socket api.An RPC plugin that does nothing.NullSandboxLogHandleris installed on the root logger.IStringConverterFactory that supplies custom converters.IStringConverter that converts from string to Boolean.RequestManageris responsible for setting up and tearing down any state associated with each request.Builder for of a RequestManager instance.RequestTokenacts as a Memento object that passes state between a call tostartRequestandfinishRequest.Runs an inbound request within the context of the given app, whether ordinary inbound HTTP or background request.Builder for RequestRunner.Thread manager interface for specifically getting request threadsRuntimeLogSinkattaches a rootHandlerthat records all log messagesLevel.INFOor higher as aRuntimePb.UPResponse.RuntimeLogLineattached to the currentRuntimePb.UPResponse.This interface abstracts away the details of starting up and shutting down a servlet engine, as well as adapting between the concrete classes that implement the Java Servlet API and the Prometheus Untrusted Process API.Options to configure a Jetty HTTP server, forwarding servlet requests to the GAE Java runtime.Builder forConfiginstances.AURLStreamHandlerFactorywhich installsURLStreamHandlersthat the App Engine runtime needs to support.ThreadGroupPoolis a very simple thread pool where each pooled thread is in its ownThreadGroup.Builder for ThreadGroupPool.Helper functions for trace context.Stores trace spans for a single request, and flushes them intoRuntimePb.UPResponse.Defines an interface for handling the Prometheus Untrusted Process API.