All Classes and Interfaces
Class
Description
AbstractIntervalTimer
is common base class for Timer
implementations that base measure the change in some value
between the point where the timer is started and the point where
the timer is stopped.AbstractSharedTimerSet
tracks a single counter that is
shared by all of the Timer
instances that are part of the
set.RPC-agnostic RPC callback interface.
RPC-agnostic client-side RPC context.
A factory for
AnyRpcClientContext
.Base class for RPC-specific plugins.
RPC-agnostic server-side RPC context.
ApiDeadlineOracle
determines 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.
RPC-agnostic equivalent of APIHost.ClientInterface, plus an RPC client context
factory method.
ApiProxyImpl is a concrete implementation of the ApiProxy.Delegate
interface.
Builder for ApiProxyImpl.Config.
A thread created by
ThreadManager.currentRequestThreadFactory()
.To implement ApiProxy.Environment, we use a class that wraps
around an UPRequest and retrieves the necessary information from
it.
ApiProxyUtils
is a utility class with functions shared by ApiProxy delegates, e.g.AppEngineConstants
centralizes some constants that are specific to our use of Jetty.Class used for parsing the various components of the AppId.
AppsLogWriter
is 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.AppVersion
encapsulates the configuration information
associated with one version of a particular application.Builder for AppVersion.
AppVersionFactory
constructs instances of
AppVersion
.Builder for AppVersionFactory.
A simple immutable data container class that identifies a single
version of specific application.
BackgroundRequestCoordinator facilitates the exchange of two pieces
of data between the background
ThreadFactory
and the
JavaRuntime
code that processes the fake request.CloneControllerImpl
implements the CloneControllerServerInterface
RPC interface.Callback interface for rpc-specific and sandbox-specific functionality to be abstracted
over in this class.
RPC-agnostic equivalent of CloneController.ServerInterface.
CpuRatioTimer
is a composite Timer
that is backed
by two other Timer
objects -- e.g. one that measures CPU
time and one that measures wallclock time.CpuSpeedExtractor
can be used to extract the CPU speed of
the current machine.Creates a
CpuSpeedExtractor
that can be used to
determine the speed of the CPUs on the current machine.RPC-agnostic version of EvaluationRuntime.ServerInterface.
Set the default character encoding.
HardDeadlineExceededError
is 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 new
JavaRuntime
.JmxGcTimerSet
creates timers that measures the amount of
time spent in garbage collection while the timer was running.JmxHotspotTimerSet
creates timers that measures the amount
of time spent in Hotspot compilation while each timer was running.A log handler that publishes log messages in a json format.
Configures logging for the GAE Java Runtime.
LogHandler
is installed on the root logger.A mutable object that exports an interface similar to
RuntimePb.UPResponse.Builder
but that is
thread-safe.Performs the diversion of java.net services to use the App Engine Socket api.
An RPC plugin that does nothing.
NullSandboxLogHandler
is installed on the root logger.IStringConverterFactory that supplies custom converters.
IStringConverter that converts from string to Boolean.
This interface defines a set of operations required for a Request to be used by the Java Runtime.
RequestManager
is responsible for setting up and tearing down any state associated with
each request.Builder for of a RequestManager instance.
RequestToken
acts as a Memento object that passes state
between a call to startRequest
and finishRequest
.Runs an inbound request within the context of the given app, whether ordinary inbound HTTP or
background request.
Builder for RequestRunner.
A runnable which lets us start running before we even know what to run.
Thread manager interface for specifically getting request threads
This interface defines a set of operations required for a Response to be used by the Java
Runtime.
RuntimeLogSink
attaches a root Handler
that records all log messages
Level.INFO
or higher as a RuntimePb.UPResponse.RuntimeLogLine
attached to the current RuntimePb.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 for
Config
instances.A
URLStreamHandlerFactory
which installs
URLStreamHandlers
that the
App Engine runtime needs to support.ThreadGroupPool
is a very simple thread pool where each
pooled thread is in its own ThreadGroup
.Builder for ThreadGroupPool.
Timer
is a base interface for various timer implementations
provided in this package.TimerFactory
creates new Timer
instances.TimerSet
is an abstraction for creating one or more
Timer
instances that are interdependent in some way.Helper functions for trace context.
Stores trace spans for a single request, and flushes them into
RuntimePb.UPResponse
.Defines an interface for handling the Prometheus Untrusted Process API.
A parsed Version Id.