Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractIntervalTimer - Class in com.google.apphosting.runtime.timer
-
AbstractIntervalTimer
is common base class forTimer
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. - AbstractIntervalTimer() - Constructor for class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- AbstractSharedTimerSet - Class in com.google.apphosting.runtime.timer
-
AbstractSharedTimerSet
tracks a single counter that is shared by all of theTimer
instances that are part of the set. - AbstractSharedTimerSet() - Constructor for class com.google.apphosting.runtime.timer.AbstractSharedTimerSet
- addAllRuntimeLogLine(Collection<RuntimePb.UPResponse.RuntimeLogLine>) - Method in interface com.google.apphosting.runtime.ResponseAPIData
- addAllRuntimeLogLine(Collection<RuntimePb.UPResponse.RuntimeLogLine>) - Method in class com.google.apphosting.runtime.UpResponseAPIData
- addAppLog(AppLogsPb.AppLogLine) - Method in interface com.google.apphosting.runtime.ResponseAPIData
- addAppLog(AppLogsPb.AppLogLine) - Method in class com.google.apphosting.runtime.UpResponseAPIData
- addAppLog(AppLogsPb.AppLogLine.Builder) - Method in class com.google.apphosting.runtime.MutableUpResponse
- addAppLogMessage(ApiProxy.LogRecord.Level, String) - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- addAppVersion(AnyRpcServerContext, AppinfoPb.AppInfo) - Method in interface com.google.apphosting.runtime.anyrpc.EvaluationRuntimeServerInterface
- addAppVersion(AnyRpcServerContext, AppinfoPb.AppInfo) - Method in class com.google.apphosting.runtime.JavaRuntime
-
Adds the specified application version so that it can be used for future requests.
- addAppVersion(AppVersion) - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
Register the specified application version for future calls to
serviceRequest
. - addHandlerToRootLogger() - Method in class com.google.apphosting.runtime.RuntimeLogSink
- addHttpOutputHeaders(HttpPb.ParsedHttpHeader.Builder) - Method in class com.google.apphosting.runtime.MutableUpResponse
- addHttpResponseHeader(HttpPb.ParsedHttpHeader.Builder) - Method in class com.google.apphosting.runtime.MutableUpResponse
- addLogRecord(ApiProxy.LogRecord) - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- addLogRecordAndMaybeFlush(ApiProxy.LogRecord) - Method in class com.google.apphosting.runtime.AppLogsWriter
-
Add the specified LogRecord for the current request.
- addOfflinePackageDefaultDeadline(String, double) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addOfflinePackageMaxDeadline(String, double) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addOfflinePackageMaxRequestSize(String, long) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addOfflinePackageMinContentSizeForBuffer(String, long) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addPackageDefaultDeadline(String, double) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addPackageMaxDeadline(String, double) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addPackageMaxRequestSize(String, long) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addPackageMinContentSizeForBuffer(String, long) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addStackTrace(CloudTraceContext, StackTraceElement[]) - Method in class com.google.apphosting.runtime.TraceWriter
-
Add stack trace into the current span.
- AnyRpcCallback<T> - Interface in com.google.apphosting.runtime.anyrpc
-
RPC-agnostic RPC callback interface.
- AnyRpcClientContext - Interface in com.google.apphosting.runtime.anyrpc
-
RPC-agnostic client-side RPC context.
- AnyRpcClientContextFactory - Interface in com.google.apphosting.runtime.anyrpc
-
A factory for
AnyRpcClientContext
. - AnyRpcPlugin - Class in com.google.apphosting.runtime.anyrpc
-
Base class for RPC-specific plugins.
- AnyRpcPlugin() - Constructor for class com.google.apphosting.runtime.anyrpc.AnyRpcPlugin
- AnyRpcServerContext - Interface in com.google.apphosting.runtime.anyrpc
-
RPC-agnostic server-side RPC context.
- ApiDeadlineOracle - Class in com.google.apphosting.runtime
-
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. - ApiDeadlineOracle.Builder - Class in com.google.apphosting.runtime
-
Build an ApiDeadlineOracle.
- ApiDeadlineOracle.DeadlineMap - Class in com.google.apphosting.runtime
-
Deadlines for one instance type (offline or online).
- ApiHostClientFactory - Class in com.google.apphosting.runtime
-
Make an APIHostClientInterface.
- ApiHostClientFactory() - Constructor for class com.google.apphosting.runtime.ApiHostClientFactory
- APIHostClientInterface - Interface in com.google.apphosting.runtime.anyrpc
-
RPC-agnostic equivalent of APIHost.ClientInterface, plus an RPC client context factory method.
- ApiProxyImpl - Class in com.google.apphosting.runtime
-
ApiProxyImpl is a concrete implementation of the ApiProxy.Delegate interface.
- ApiProxyImpl.Builder - Class in com.google.apphosting.runtime
-
Builder for ApiProxyImpl.Config.
- ApiProxyImpl.CurrentRequestThread - Class in com.google.apphosting.runtime
-
A thread created by
ThreadManager.currentRequestThreadFactory()
. - ApiProxyImpl.EnvironmentImpl - Class in com.google.apphosting.runtime
-
To implement ApiProxy.Environment, we use a class that wraps around an UPRequest and retrieves the necessary information from it.
- ApiProxyUtils - Class in com.google.apphosting.utils.runtime
-
ApiProxyUtils
is a utility class with functions shared by ApiProxy delegates, e.g. - APP_VERSION_CONTEXT_ATTR - Static variable in class com.google.apphosting.runtime.AppEngineConstants
-
This
ServletContext
attribute contains theAppVersion
for the current application. - APP_VERSION_KEY_REQUEST_ATTR - Static variable in class com.google.apphosting.runtime.AppEngineConstants
-
This
ServletRequest
attribute contains theAppVersionKey
identifying the current application. identify which application version to use. - APP_YAML_ATTRIBUTE_TARGET - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- AppEngineConstants - Class in com.google.apphosting.runtime
-
AppEngineConstants
centralizes some constants that are specific to our use of Jetty. - AppId - Class in com.google.apphosting.base
-
Class used for parsing the various components of the AppId.
- applicationRoot() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Base root area for a given application.
- AppLogsWriter - Class in com.google.apphosting.runtime
-
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. - AppLogsWriter(MutableUpResponse, long, int, int) - Constructor for class com.google.apphosting.runtime.AppLogsWriter
- AppLogsWriter(ResponseAPIData, long, int, int) - Constructor for class com.google.apphosting.runtime.AppLogsWriter
-
Construct an AppLogsWriter instance.
- applyCloneSettings(AnyRpcServerContext, ClonePb.CloneSettings) - Method in interface com.google.apphosting.runtime.anyrpc.CloneControllerServerInterface
- applyCloneSettings(AnyRpcServerContext, ClonePb.CloneSettings) - Method in class com.google.apphosting.runtime.CloneControllerImpl
-
Applies the specified
ClonePb.CloneSettings
received from the AppServer. - applyLogProperties(String, ClassLoader) - Method in class com.google.apphosting.runtime.Logging
- AppVersion - Class in com.google.apphosting.runtime
-
AppVersion
encapsulates the configuration information associated with one version of a particular application. - AppVersion.Builder - Class in com.google.apphosting.runtime
-
Builder for AppVersion.
- AppVersionFactory - Class in com.google.apphosting.runtime
-
AppVersionFactory
constructs instances ofAppVersion
. - AppVersionFactory(NullSandboxPlugin, File, String, boolean, boolean, boolean, boolean, String) - Constructor for class com.google.apphosting.runtime.AppVersionFactory
-
Construct a new
AppVersionFactory
. - AppVersionFactory.Builder - Class in com.google.apphosting.runtime
-
Builder for AppVersionFactory.
- AppVersionKey - Class in com.google.apphosting.base
-
A simple immutable data container class that identifies a single version of specific application.
- AppVersionKey() - Constructor for class com.google.apphosting.base.AppVersionKey
- ASYNC_MODE - Static variable in class com.google.apphosting.runtime.AppEngineConstants
-
Set the Jetty request with Async mode.
- attemptCompression(RuntimePb.UPRequest, MutableUpResponse) - Method in class com.google.apphosting.runtime.HttpCompression
-
Attempt to compress the HttpResponse, using trusted and untrusted headers to determine if the client (or GFE) accepts compression for this response.
B
- BACKEND_ID_KEY - Static variable in class com.google.apphosting.runtime.ApiProxyImpl
- BACKGROUND_REQUEST_SOURCE_IP - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- BACKGROUND_REQUEST_URL - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- BackgroundRequestCoordinator - Class in com.google.apphosting.runtime
-
BackgroundRequestCoordinator facilitates the exchange of two pieces of data between the background
ThreadFactory
and theJavaRuntime
code that processes the fake request. - BackgroundRequestCoordinator() - Constructor for class com.google.apphosting.runtime.BackgroundRequestCoordinator
- blockUntilShutdown() - Method in class com.google.apphosting.runtime.anyrpc.AnyRpcPlugin
-
Runs the main loop for the server and waits for the server to shutdown.
- blockUntilShutdown() - Method in class com.google.apphosting.runtime.NullRpcPlugin
- BooleanConverter() - Constructor for class com.google.apphosting.runtime.ParameterFactory.BooleanConverter
- build() - Method in class com.google.apphosting.runtime.ApiDeadlineOracle.Builder
- build() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- build() - Method in class com.google.apphosting.runtime.AppVersion.Builder
- build() - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
- build() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- build() - Method in class com.google.apphosting.runtime.MutableUpResponse
- build() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- build() - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- build() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
-
Returns a configured
Config
instance. - build() - Method in class com.google.apphosting.runtime.ThreadGroupPool.Builder
- builder() - Static method in class com.google.apphosting.runtime.ApiProxyImpl
- builder() - Static method in class com.google.apphosting.runtime.AppVersion
-
Return a builder for an AppVersion instance.
- builder() - Static method in class com.google.apphosting.runtime.AppVersionFactory
- builder() - Static method in class com.google.apphosting.runtime.JavaRuntime
-
Get a partly-initialized builder.
- builder() - Static method in class com.google.apphosting.runtime.RequestManager
-
Make a partly-initialized builder for a RequestManager.
- builder() - Static method in class com.google.apphosting.runtime.RequestRunner
-
Get a partly-initialized builder.
- builder() - Static method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Returns an
Config.Builder
. - builder() - Static method in class com.google.apphosting.runtime.ThreadGroupPool
- Builder() - Constructor for class com.google.apphosting.runtime.ApiDeadlineOracle.Builder
- Builder() - Constructor for class com.google.apphosting.runtime.ApiProxyImpl.Builder
- Builder() - Constructor for class com.google.apphosting.runtime.AppVersionFactory.Builder
- Builder() - Constructor for class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- Builder() - Constructor for class com.google.apphosting.runtime.ThreadGroupPool.Builder
- builderForTest() - Static method in class com.google.apphosting.runtime.AppVersionFactory
- byteCountBeforeFlushing() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
C
- call(AnyRpcClientContext, RuntimePb.APIRequest, AnyRpcCallback<RuntimePb.APIResponse>) - Method in interface com.google.apphosting.runtime.anyrpc.APIHostClientInterface
- clearHttpResponse() - Method in class com.google.apphosting.runtime.MutableUpResponse
- CloneControllerImpl - Class in com.google.apphosting.runtime
-
CloneControllerImpl
implements theCloneControllerServerInterface
RPC interface. - CloneControllerImpl(CloneControllerImpl.Callback, ApiDeadlineOracle, RequestManager, ByteBuffer) - Constructor for class com.google.apphosting.runtime.CloneControllerImpl
- CloneControllerImpl.Callback - Interface in com.google.apphosting.runtime
-
Callback interface for rpc-specific and sandbox-specific functionality to be abstracted over in this class.
- CloneControllerServerInterface - Interface in com.google.apphosting.runtime.anyrpc
-
RPC-agnostic equivalent of CloneController.ServerInterface.
- close() - Method in class com.google.apphosting.runtime.JsonLogHandler
- close() - Method in class com.google.apphosting.runtime.LogHandler
- close() - Method in class com.google.apphosting.runtime.NullSandboxLogHandler
- CLOUD_SQL_JDBC_CONNECTIVITY_ENABLED_KEY - Static variable in class com.google.apphosting.runtime.ApiProxyImpl
- cloudSqlJdbcConnectivityEnabled() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- com.google.apphosting.base - package com.google.apphosting.base
- com.google.apphosting.runtime - package com.google.apphosting.runtime
- com.google.apphosting.runtime.anyrpc - package com.google.apphosting.runtime.anyrpc
- com.google.apphosting.runtime.timer - package com.google.apphosting.runtime.timer
- com.google.apphosting.utils.runtime - package com.google.apphosting.utils.runtime
- complete() - Method in interface com.google.apphosting.runtime.ResponseAPIData
- complete() - Method in class com.google.apphosting.runtime.UpResponseAPIData
- compressResponse() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- Config() - Constructor for class com.google.apphosting.runtime.ServletEngineAdapter.Config
- configuration() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- convert(String) - Method in class com.google.apphosting.runtime.ParameterFactory.BooleanConverter
- convertApiError(RuntimePb.APIResponse, String, String, GoogleLogger) - Static method in class com.google.apphosting.utils.runtime.ApiProxyUtils
-
Convert APIResponse.getError() to the appropriate exception.
- convertLogLevel(Level) - Static method in class com.google.apphosting.runtime.AppLogsWriter
-
Converts from a Java Logging level to an App Engine logging level.
- coordinator() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- CpuRatioTimer - Class in com.google.apphosting.runtime.timer
-
CpuRatioTimer
is a compositeTimer
that is backed by two otherTimer
objects -- e.g. one that measures CPU time and one that measures wallclock time. - CpuRatioTimer(Timer, Timer, CpuSpeedExtractor, Timer[]) - Constructor for class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Create a new
CpuRatioTimer
. - CpuSpeedExtractor - Interface in com.google.apphosting.runtime.timer
-
CpuSpeedExtractor
can be used to extract the CPU speed of the current machine. - CpuSpeedExtractorFactory - Class in com.google.apphosting.runtime.timer
-
Creates a
CpuSpeedExtractor
that can be used to determine the speed of the CPUs on the current machine. - CpuSpeedExtractorFactory(long) - Constructor for class com.google.apphosting.runtime.timer.CpuSpeedExtractorFactory
- createAppVersion(AppinfoPb.AppInfo, AppEngineWebXml, ApplicationEnvironment.RuntimeConfiguration) - Method in class com.google.apphosting.runtime.AppVersionFactory
-
Create an
AppVersion
from the specifiedAppInfo
protocol buffer. - createAppVersionForTest(AppinfoPb.AppInfo) - Method in class com.google.apphosting.runtime.AppVersionFactory
-
Creates a new
AppVersion
with a default RuntimeConfiguration. - createEnvironment(AppVersion, RuntimePb.UPRequest, MutableUpResponse, TraceWriter, CpuRatioTimer, String, List<Future<?>>, Semaphore, ThreadGroup, RequestState, Long) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- createEnvironment(AppVersion, RequestAPIData, ResponseAPIData, TraceWriter, CpuRatioTimer, String, List<Future<?>>, Semaphore, ThreadGroup, RequestState, Long) - Method in class com.google.apphosting.runtime.ApiProxyImpl
-
Creates an
ApiProxy.Environment
instance that is suitable for use with this class. - createTimer() - Method in class com.google.apphosting.runtime.timer.AbstractSharedTimerSet
- createTimer() - Method in interface com.google.apphosting.runtime.timer.TimerSet
- createURLStreamHandler(String) - Method in class com.google.apphosting.runtime.StreamHandlerFactory
- cumulativeTime - Variable in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- cyclesPerSecond() - Method in class com.google.apphosting.runtime.RequestManager.Builder
D
- DeadlineMap(double, Map<String, Double>, double, Map<String, Double>) - Constructor for class com.google.apphosting.runtime.ApiDeadlineOracle.DeadlineMap
- deadlineOracle() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- deadlineOracle() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- DeadlineRunnable(RequestManager, RequestManager.RequestToken, boolean) - Constructor for class com.google.apphosting.runtime.RequestManager.DeadlineRunnable
- DEFAULT_ENGINE_ID - Static variable in class com.google.apphosting.base.VersionId
- DEFAULT_MAX_TRACE - Static variable in class com.google.apphosting.runtime.TraceWriter
- DEFAULT_SECRET_KEY - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- defaultToNativeUrlStreamHandler() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- deleteAppVersion(AnyRpcServerContext, AppinfoPb.AppInfo) - Method in interface com.google.apphosting.runtime.anyrpc.EvaluationRuntimeServerInterface
- deleteAppVersion(AnyRpcServerContext, AppinfoPb.AppInfo) - Method in class com.google.apphosting.runtime.JavaRuntime
-
Obsolete operation.
- deleteAppVersion(AppVersion) - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
Remove the specified application version and free up any resources associated with it.
- disable() - Method in interface com.google.apphosting.runtime.anyrpc.APIHostClientInterface
-
Closes any outgoing connections using this client and prevents new ones from being created.
- disable() - Method in class com.google.apphosting.runtime.ApiProxyImpl
- disableApiCallLogging() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- disableDeadlineTimers() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- divertNetworkServices() - Method in interface com.google.apphosting.runtime.CloneControllerImpl.Callback
-
Start re-routing the socket API in the JRE through the GAE socket API.
E
- EagerRunner() - Constructor for class com.google.apphosting.runtime.RequestRunner.EagerRunner
- enable() - Method in interface com.google.apphosting.runtime.anyrpc.APIHostClientInterface
-
Allows new connections to be created from this client.
- enable() - Method in class com.google.apphosting.runtime.ApiProxyImpl
- enableHotspotPerformanceMetrics() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- endApiSpan(CloudTraceContext) - Method in class com.google.apphosting.runtime.TraceWriter
-
End the API span.
- endRequestSpan() - Method in class com.google.apphosting.runtime.TraceWriter
-
End the request span.
- endSpan(CloudTraceContext) - Method in class com.google.apphosting.runtime.TraceWriter
-
End the current span.
- ENVIRONMENT_ATTR - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- error(int, String) - Method in interface com.google.apphosting.runtime.ResponseAPIData
- error(int, String) - Method in class com.google.apphosting.runtime.UpResponseAPIData
- evaluationRuntimeServerInterface() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
A local server that can be called directly to satisfy EvaluationRuntime requests.
- EvaluationRuntimeServerInterface - Interface in com.google.apphosting.runtime.anyrpc
-
RPC-agnostic version of EvaluationRuntime.ServerInterface.
- expandBooleanParams(List<String>, Class<?>) - Static method in class com.google.apphosting.runtime.ParameterFactory
- externalDatacenterName() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
F
- failure() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcCallback
- FileEncodingSetter - Class in com.google.apphosting.runtime
-
Set the default character encoding.
- finishRequest(RequestManager.RequestToken) - Method in class com.google.apphosting.runtime.RequestManager
-
Tear down any state associated with the specified request, and restore the current thread's state as it was before
startRequest
was called. - finishWithAppError(int, String) - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcServerContext
-
Indicates that the RPC was handled in a way that means an "application error" should be signaled to the client.
- finishWithAppError(int, String) - Method in class com.google.apphosting.runtime.LocalRpcContext
- finishWithResponse(AnyRpcServerContext) - Method in interface com.google.apphosting.runtime.ResponseAPIData
- finishWithResponse(AnyRpcServerContext) - Method in class com.google.apphosting.runtime.UpResponseAPIData
- finishWithResponse(MessageLite) - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcServerContext
-
Indicates that the RPC was handled successfully.
- finishWithResponse(MessageLite) - Method in class com.google.apphosting.runtime.LocalRpcContext
- fixedApplicationPath() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- fixedApplicationPath() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Fixed path to use for the application root directory, irrespective of the application id and version.
- flush() - Method in class com.google.apphosting.runtime.JsonLogHandler
- flush() - Method in class com.google.apphosting.runtime.LogHandler
- flush() - Method in class com.google.apphosting.runtime.NullSandboxLogHandler
- flushAndWait() - Method in class com.google.apphosting.runtime.AppLogsWriter
-
Initiates a synchronous flush.
- flushLogs() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- flushLogs(ApiProxyImpl.EnvironmentImpl) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- flushLogs(ResponseAPIData) - Method in class com.google.apphosting.runtime.RuntimeLogSink
- flushTrace() - Method in class com.google.apphosting.runtime.TraceWriter
-
Flush collected trace into
RuntimePb.UPResponse
. - forceUrlfetchUrlStreamHandler() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- forgetRequestThread(Thread) - Method in class com.google.apphosting.runtime.RequestState
-
Forgets the given thread relative to this request.
- fromAppInfo(AppinfoPb.AppInfo) - Static method in class com.google.apphosting.base.AppVersionKey
- fromUpRequest(RuntimePb.UPRequest) - Static method in class com.google.apphosting.base.AppVersionKey
G
- GAE_RUNTIME - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- getActiveCount() - Method in class com.google.apphosting.runtime.timer.AbstractSharedTimerSet
- getActiveCount() - Method in interface com.google.apphosting.runtime.timer.TimerSet
-
Returns the number of
Timer
instances in this set that are currently active (i.e. - getAllowNewRequestThreadCreation() - Method in class com.google.apphosting.runtime.RequestState
- getAndClearAppLogList() - Method in interface com.google.apphosting.runtime.ResponseAPIData
- getAndClearAppLogList() - Method in class com.google.apphosting.runtime.UpResponseAPIData
- getApiError(String, String, RemoteApiPb.Response, GoogleLogger) - Static method in class com.google.apphosting.utils.runtime.ApiProxyUtils
-
Provides a throwable exception for HTTP API transport-level RPC errors.
- getApiError(String, String, RuntimePb.APIResponse, GoogleLogger) - Static method in class com.google.apphosting.utils.runtime.ApiProxyUtils
-
Provides a throwable exception for HTTP API transport-level RPC errors.
- getAppId() - Method in class com.google.apphosting.base.AppId
- getAppId() - Method in class com.google.apphosting.base.AppVersionKey
- getAppId() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getAppId() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getAppId() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getApplicationError() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
- getAppLog(int) - Method in class com.google.apphosting.runtime.MutableUpResponse
- getAppLogCount() - Method in interface com.google.apphosting.runtime.ResponseAPIData
- getAppLogCount() - Method in class com.google.apphosting.runtime.UpResponseAPIData
- getAppserverDatacenter() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getAppserverDatacenter() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getAppserverTaskBns() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getAppserverTaskBns() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getAppVersion() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getAppVersion() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getAppVersion(String, String) - Method in interface com.google.apphosting.runtime.CloneControllerImpl.Callback
- getAppVersionKey() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getAttributes() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getAuthDomain() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getAuthDomain() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getAuthDomain() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getAuthuser() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getAuthuser() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getBackgroundRequestCoordinator() - Method in class com.google.apphosting.runtime.ApiProxyImpl
- getBackgroundRequestId() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getBackgroundRequestId() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getClassLoader() - Method in class com.google.apphosting.runtime.AppVersion
-
Returns the custom
ClassLoader
that will safely load classes and resource files that were published along with this application version. - getCloneIsInUncleanState() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getConverter(Class<?>) - Method in class com.google.apphosting.runtime.ParameterFactory
- getCpuCycleTimer(Thread) - Method in class com.google.apphosting.runtime.timer.TimerFactory
-
Return a
Timer
that counts CPU time for the specifiedThread
. - getCpuRatio() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Returns a ratio (between 0 and 1) that represents the percentage of elapsed wallclock time which was spent executing CPU instructions.
- getCpuRatioTimer(Thread) - Method in class com.google.apphosting.runtime.timer.TimerFactory
-
Returns a
CpuRatioTimer
that tracks both the CPU usage of the specifiedThread
and the wallclock time. - getCpuRatioTimer(ThreadGroup) - Method in class com.google.apphosting.runtime.timer.TimerFactory
-
Returns a
CpuRatioTimer
that tracks both the CPU usage of the specifiedThreadGroup
and the wallclock time. - getCpuUsageTimer() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Returns the underlying CPU usage
Timer
. - getCurrent() - Method in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- getCurrentShared() - Method in class com.google.apphosting.runtime.timer.AbstractSharedTimerSet
-
Returns the current value of a counter that is shared by all timers created by calling
AbstractSharedTimerSet.createTimer()
on this instance. - getCurrentShared() - Method in class com.google.apphosting.runtime.timer.JmxGcTimerSet
- getCurrentShared() - Method in class com.google.apphosting.runtime.timer.JmxHotspotTimerSet
- getCycleCount() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Convert the number of CPU seconds elapsed into a CPU cycle count using the CPU speed reported by the
CpuSpeedExtractor
. - getCyclesPerSecond() - Method in interface com.google.apphosting.runtime.timer.CpuSpeedExtractor
-
Returns the maximum number of cycles that a single CPU is capable of executing in one second.
- getDeadline() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getDeadline(String, boolean, Number) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- getDefaultVersionHostname() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getDefaultVersionHostname() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getDisplayAppId() - Method in class com.google.apphosting.base.AppId
- getDomain() - Method in class com.google.apphosting.base.AppId
- getEmail() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getEmail() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getEmail() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getEngineId() - Method in class com.google.apphosting.base.VersionId
-
Returns the serverId.
- getEngineVersionId() - Method in class com.google.apphosting.base.VersionId
-
Returns the server version id.
- getEnvironment() - Method in class com.google.apphosting.runtime.AppVersion
-
Returns the environment which was configured for the application.
- getError() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getError() - Method in interface com.google.apphosting.runtime.ResponseAPIData
- getError() - Method in class com.google.apphosting.runtime.UpResponseAPIData
- getErrorDetail() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
- getEventIdHash() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getEventIdHash() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getException() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
- getExtractor() - Method in class com.google.apphosting.runtime.timer.CpuSpeedExtractorFactory
-
Returns the
CpuSpeedExtractor
. - getGaiaId() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getGaiaId() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getGaiaSession() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getGaiaSession() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getGlobalId() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcServerContext
-
Returns a trace id for this request.
- getGlobalId() - Method in class com.google.apphosting.runtime.LocalRpcContext
- getHeadersList() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getHeadersList() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getHttpOutputHeadersList() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getHttpResponse() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getHttpResponseResponse() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getIsAdmin() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getIsAdmin() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getIsOffline() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getIsOffline() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getIsTrustedApp() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getIsTrustedApp() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getKey() - Method in class com.google.apphosting.runtime.AppVersion
-
Returns the
AppVersionKey
that can be used as an identifier for thisAppVersion
. - getLongAppId() - Method in class com.google.apphosting.base.AppId
- getMajorVersion() - Method in class com.google.apphosting.base.VersionId
-
Returns the majorVersion.
- getMinorVersion() - Method in class com.google.apphosting.base.VersionId
-
Returns the minorVersion or
null
if no minor version was present. - getModuleId() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getModuleId() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getModuleId() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getModuleVersionId() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getModuleVersionId() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getNanoseconds() - Method in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- getNanoseconds() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Returns the number of CPU-nanoseconds used by the current request, plus a fraction of any background work (e.g.
- getNanoseconds() - Method in interface com.google.apphosting.runtime.timer.Timer
-
Get the number of nanoseconds that elapsed between when the
Timer
was started and when it was stopped. - getObfuscatedGaiaId() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getObfuscatedGaiaId() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getPartition() - Method in class com.google.apphosting.base.AppId
- getPeerUsername() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getPeerUsername() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getPendingCloudDebuggerAction() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getPerformanceData(AnyRpcServerContext, ModelClonePb.PerformanceDataRequest) - Method in interface com.google.apphosting.runtime.anyrpc.CloneControllerServerInterface
- getPerformanceData(AnyRpcServerContext, ModelClonePb.PerformanceDataRequest) - Method in class com.google.apphosting.runtime.CloneControllerImpl
- getPublicRoot() - Method in class com.google.apphosting.runtime.AppVersion
-
Returns the parent directory for all static and resource files.
- getRatio() - Method in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
-
The fraction of the change in the underlying counter which will be attributed to this timer.
- getRemainingMillis() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getRequestId() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getRequestLogId() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getRequestLogId() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getRequestNamespace() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
-
Deprecated.
- getRequestThreadManager() - Method in class com.google.apphosting.runtime.ApiProxyImpl
- getRequestThreads(AppVersionKey) - Method in class com.google.apphosting.runtime.RequestManager
- getRequestThreads(AppVersionKey) - Method in interface com.google.apphosting.runtime.RequestThreadManager
- getRequestThreads(ApiProxyImpl.EnvironmentImpl) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- getRequestType() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getRequestType() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getResponse() - Method in class com.google.apphosting.runtime.LocalRpcContext
- getRootDirectory() - Method in class com.google.apphosting.runtime.AppVersion
-
Returns the top-level directory under which all application version resource files are made available.
- getRpcError(String, String, Status.StatusProto, int, String, Throwable) - Static method in class com.google.apphosting.utils.runtime.ApiProxyUtils
-
Provides a throwable exception for HTTP API RPC user-application errors.
- getRuntimeLogLine(int) - Method in class com.google.apphosting.runtime.MutableUpResponse
- getRuntimeLogLineCount() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getSecurityLevel() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getSecurityLevel() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getSecurityTicket() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getSecurityTicket() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getSecurityTicket() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getSerializedTrace() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getSessionsConfig() - Method in class com.google.apphosting.runtime.AppVersion
- getSpanId() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
-
Get the span id of the current request, which can be used to identify a span within a trace.
- getStartedRuntime(NullSandboxPlugin, String[]) - Method in class com.google.apphosting.runtime.JavaRuntimeFactory
- getStartTimeMillis() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
- getStartTimeMillis() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcServerContext
-
Returns the time at which the RPC began, in milliseconds since midnight UTC on 1970-01-01.
- getStartTimeMillis() - Method in class com.google.apphosting.runtime.LocalRpcContext
- getStartTimeMillis() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getState() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getStatus() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
- getTerminateClone() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getThreadGroupCpuTimer(ThreadGroup) - Method in class com.google.apphosting.runtime.timer.TimerFactory
- getThreadGroupPool() - Method in class com.google.apphosting.runtime.AppVersion
- getTimeRemaining() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcServerContext
-
Returns the remaining time for this call.
- getTimeRemaining() - Method in class com.google.apphosting.runtime.LocalRpcContext
- getTitle() - Method in class com.google.apphosting.runtime.timer.AbstractSharedTimerSet
-
Implementations should provide a short, readable string to be included in the
toString()
output of the timers that they create (e.g. - getTitle() - Method in class com.google.apphosting.runtime.timer.JmxGcTimerSet
- getTitle() - Method in class com.google.apphosting.runtime.timer.JmxHotspotTimerSet
- getTopUserStackFrame(List<StackTraceElement>) - Static method in class com.google.apphosting.runtime.AppLogsWriter
-
Analyzes a stack trace and returns the topmost frame that contains user code, so as to filter out App Engine logging and servlet infrastructure and just return frames relevant to user code.
- getTraceContext() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getTraceContext() - Method in class com.google.apphosting.runtime.TraceWriter
-
Gets the current trace context.
- getTraceContext() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getTraceExceptionGenerator() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getTraceId() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
-
Get the trace id of the current request, which can be used to correlate log messages belonging to that request.
- getTraceWriter() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getTraceWriterForRequest(RuntimePb.UPRequest, MutableUpResponse) - Static method in class com.google.apphosting.runtime.TraceWriter
- getTraceWriterForRequest(RequestAPIData, ResponseAPIData) - Static method in class com.google.apphosting.runtime.TraceWriter
- getTrusted() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getTrusted() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getUrl() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getUrl() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getUserOrganization() - Method in interface com.google.apphosting.runtime.RequestAPIData
- getUserOrganization() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- getVersionId() - Method in class com.google.apphosting.base.AppVersionKey
- getVersionId() - Method in class com.google.apphosting.base.VersionId
-
Returns the versionId.
- getVersionId() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getWallclockTimer() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Returns the underlying wallclock
Timer
. - getWallclockTimer() - Method in class com.google.apphosting.runtime.timer.TimerFactory
-
Return a
Timer
that counts wallclock time.
H
- handleRequest(AnyRpcServerContext, RuntimePb.UPRequest) - Method in interface com.google.apphosting.runtime.anyrpc.EvaluationRuntimeServerInterface
- handleRequest(AnyRpcServerContext, RuntimePb.UPRequest) - Method in class com.google.apphosting.runtime.JavaRuntime
-
Translate the specified UPRequest from Prometheus into a
HttpServletRequest
, invoke the specified servlet, and translate the response back into an UPResponse. - hardDeadlineDelay() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- HardDeadlineExceededError - Exception Class in com.google.apphosting.runtime
-
HardDeadlineExceededError
is an error that is thrown when a user request has exceeded its hard limit. - HardDeadlineExceededError() - Constructor for exception class com.google.apphosting.runtime.HardDeadlineExceededError
- HardDeadlineExceededError(String) - Constructor for exception class com.google.apphosting.runtime.HardDeadlineExceededError
- hasCloneIsInUncleanState() - Method in class com.google.apphosting.runtime.MutableUpResponse
- hasDefaultVersionHostname() - Method in interface com.google.apphosting.runtime.RequestAPIData
- hasDefaultVersionHostname() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- hasEventIdHash() - Method in interface com.google.apphosting.runtime.RequestAPIData
- hasEventIdHash() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- hasHardDeadlinePassed() - Method in class com.google.apphosting.runtime.RequestState
- hasHttpResponse() - Method in class com.google.apphosting.runtime.MutableUpResponse
- hasHttpResponseResponse() - Method in class com.google.apphosting.runtime.MutableUpResponse
- hasPendingCloudDebuggerAction() - Method in class com.google.apphosting.runtime.MutableUpResponse
- hasRequestLogId() - Method in interface com.google.apphosting.runtime.RequestAPIData
- hasRequestLogId() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- hasSerializedTrace() - Method in class com.google.apphosting.runtime.MutableUpResponse
- hasSoftDeadlinePassed() - Method in class com.google.apphosting.runtime.RequestState
- hasTraceContext() - Method in interface com.google.apphosting.runtime.RequestAPIData
- hasTraceContext() - Method in class com.google.apphosting.runtime.UpRequestAPIData
- HTTP_CONNECTOR_MODE - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- HttpCompression - Class in com.google.apphosting.runtime
-
A class in charge of compressing request responses at the HTTP protocol buffer level.
- HttpCompression() - Constructor for class com.google.apphosting.runtime.HttpCompression
I
- IGNORE_RESPONSE_SIZE_LIMIT - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- ignoreDaemonThreads() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- init(Logger) - Method in class com.google.apphosting.runtime.LogHandler
-
Initialize the
LogHandler
by installing it on the root logger. - initDeadlineMap(double, String, double, String) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle.Builder
- initDeadlineMap(ApiDeadlineOracle.DeadlineMap) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle.Builder
- initialize(int) - Method in class com.google.apphosting.runtime.anyrpc.AnyRpcPlugin
-
Initializes the plugin, possibly creating any sockets/files/channels/connections needed.
- initialize(int) - Method in class com.google.apphosting.runtime.NullRpcPlugin
- initOfflineDeadlineMap(double, String, double, String) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle.Builder
- initOfflineDeadlineMap(ApiDeadlineOracle.DeadlineMap) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle.Builder
- INSTANCE_ID_KEY - Static variable in class com.google.apphosting.runtime.ApiProxyImpl
- interruptFirstOnSoftDeadline() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- IS_ADMIN_HEADER_VALUE - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- IS_TRUSTED - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- isAdmin() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- isLoggedIn() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- isResourceFile(String) - Method in class com.google.apphosting.runtime.AppVersion
-
Returns true if
path
is a resource file that was uploaded as part of this application. - isStaticFile(String) - Method in class com.google.apphosting.runtime.AppVersion
-
Returns true if
path
is a static file that was uploaded to BlobStore for use by this application.
J
- JavaRuntime - Class in com.google.apphosting.runtime
-
JavaRuntime implements the Prometheus EvaluationRuntime service.
- JavaRuntime.Builder - Class in com.google.apphosting.runtime
-
Builder for JavaRuntime.
- JavaRuntimeFactory - Class in com.google.apphosting.runtime
-
Creates a new
JavaRuntime
. - jettyHttpAddress() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Host and port used by the Jetty HTTP server.
- jettyRequestHeaderSize() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Jetty server's max size for HTTP request headers.
- jettyResponseHeaderSize() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Jetty server's max size for HTTP response headers.
- jettyReusePort() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Whether to set SO_REUSEPORT on the Jetty HTTP port.
- JmxGcTimerSet - Class in com.google.apphosting.runtime.timer
-
JmxGcTimerSet
creates timers that measures the amount of time spent in garbage collection while the timer was running. - JmxGcTimerSet() - Constructor for class com.google.apphosting.runtime.timer.JmxGcTimerSet
- JmxHotspotTimerSet - Class in com.google.apphosting.runtime.timer
-
JmxHotspotTimerSet
creates timers that measures the amount of time spent in Hotspot compilation while each timer was running. - JmxHotspotTimerSet() - Constructor for class com.google.apphosting.runtime.timer.JmxHotspotTimerSet
- jsonLogDir() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- JsonLogHandler - Class in com.google.apphosting.runtime
-
A log handler that publishes log messages in a json format.
- JsonLogHandler(PrintStream, boolean, String, Formatter) - Constructor for class com.google.apphosting.runtime.JsonLogHandler
K
- killCloneIfSeriousException(Throwable) - Static method in class com.google.apphosting.runtime.JavaRuntime
L
- LEGACY_MODE - Static variable in class com.google.apphosting.runtime.AppEngineConstants
-
If Legacy Mode is turned on, then Jetty is configured to be more forgiving of bad requests and to act more in the style of Jetty-9.3
- LocalRpcContext<M> - Class in com.google.apphosting.runtime
- LocalRpcContext(Class<M>) - Constructor for class com.google.apphosting.runtime.LocalRpcContext
- LocalRpcContext(Class<M>, Duration) - Constructor for class com.google.apphosting.runtime.LocalRpcContext
- log(ApiProxyImpl.EnvironmentImpl, ApiProxy.LogRecord) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- Logging - Class in com.google.apphosting.runtime
-
Configures logging for the GAE Java Runtime.
- Logging() - Constructor for class com.google.apphosting.runtime.Logging
- LogHandler - Class in com.google.apphosting.runtime
-
LogHandler
is installed on the root logger. - logJsonToFile() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- logJsonToFile(String, Path, boolean) - Method in class com.google.apphosting.runtime.Logging
M
- makeAsyncCall(ApiProxyImpl.EnvironmentImpl, String, String, byte[], ApiProxy.ApiConfig) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- makeRequestManager(RequestManager.Builder) - Method in class com.google.apphosting.runtime.JavaRuntimeFactory
- makeRuntime(JavaRuntime.Builder) - Method in class com.google.apphosting.runtime.JavaRuntimeFactory
- makeSyncCall(ApiProxyImpl.EnvironmentImpl, String, String, byte[]) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- MAX_TRACE_PROPERTY - Static variable in class com.google.apphosting.runtime.TraceWriter
- maxLogFlushTime() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- maxOutstandingApiRpcs() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- MutableUpResponse - Class in com.google.apphosting.runtime
-
A mutable object that exports an interface similar to
RuntimePb.UPResponse.Builder
but that is thread-safe. - MutableUpResponse() - Constructor for class com.google.apphosting.runtime.MutableUpResponse
N
- NetworkServiceDiverter - Class in com.google.apphosting.runtime
-
Performs the diversion of java.net services to use the App Engine Socket api.
- newAPIHost(String, OptionalInt) - Method in class com.google.apphosting.runtime.ApiHostClientFactory
- newClientContext() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContextFactory
- NullRpcPlugin - Class in com.google.apphosting.runtime
-
An RPC plugin that does nothing.
- NullRpcPlugin() - Constructor for class com.google.apphosting.runtime.NullRpcPlugin
- NullSandboxLogHandler - Class in com.google.apphosting.runtime
-
NullSandboxLogHandler
is installed on the root logger. - NullSandboxLogHandler() - Constructor for class com.google.apphosting.runtime.NullSandboxLogHandler
O
- of(String, String) - Static method in class com.google.apphosting.base.AppVersionKey
P
- ParameterFactory - Class in com.google.apphosting.runtime
-
IStringConverterFactory that supplies custom converters.
- ParameterFactory() - Constructor for class com.google.apphosting.runtime.ParameterFactory
- ParameterFactory.BooleanConverter - Class in com.google.apphosting.runtime
-
IStringConverter that converts from string to Boolean.
- parse(String) - Static method in class com.google.apphosting.base.AppId
-
Returns a new AppId object based on an appId formatted as follows: [(partition)~][(domain):](display-app-id)
- parse(String) - Static method in class com.google.apphosting.base.VersionId
- parseTraceContextHeader(String) - Static method in class com.google.apphosting.runtime.TraceContextHelper
-
Create TraceContext from header, based on C++ source.
- passThroughPrivateHeaders() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Whether to pass through all headers to the web app, including X-AppEngine-*.
- pollForNetwork() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- PRIVATE_APPENGINE_HEADERS - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- publish(LogRecord) - Method in class com.google.apphosting.runtime.JsonLogHandler
- publish(LogRecord) - Method in class com.google.apphosting.runtime.LogHandler
- publish(LogRecord) - Method in class com.google.apphosting.runtime.NullSandboxLogHandler
R
- readAppEngineWebXml(AppinfoPb.AppInfo) - Method in class com.google.apphosting.runtime.AppVersionFactory
- recordRequestThread(Thread) - Method in class com.google.apphosting.runtime.RequestState
-
Records the given thread as belonging to this request.
- redirectStdoutStderr() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- remoteApiErrorToApiResponseError(RemoteApiPb.Response) - Static method in class com.google.apphosting.utils.runtime.ApiProxyUtils
-
Converts a RemoteApiPb RPC error code into an APIResponse error code.
- RequestAPIData - Interface in com.google.apphosting.runtime
-
This interface defines a set of operations required for a Request to be used by the Java Runtime.
- RequestManager - Class in com.google.apphosting.runtime
-
RequestManager
is responsible for setting up and tearing down any state associated with each request. - RequestManager.Builder - Class in com.google.apphosting.runtime
-
Builder for of a RequestManager instance.
- RequestManager.DeadlineRunnable - Class in com.google.apphosting.runtime
-
DeadlineRunnable
causes the specifiedThrowable
to be thrown within the specified thread. - RequestManager.RequestToken - Class in com.google.apphosting.runtime
-
RequestToken
acts as a Memento object that passes state between a call tostartRequest
andfinishRequest
. - RequestRunner - Class in com.google.apphosting.runtime
-
Runs an inbound request within the context of the given app, whether ordinary inbound HTTP or background request.
- RequestRunner(UPRequestHandler, RequestManager, BackgroundRequestCoordinator, boolean, AppVersion, AnyRpcServerContext, RuntimePb.UPRequest, MutableUpResponse) - Constructor for class com.google.apphosting.runtime.RequestRunner
- RequestRunner.Builder - Class in com.google.apphosting.runtime
-
Builder for RequestRunner.
- RequestRunner.EagerRunner - Class in com.google.apphosting.runtime
-
A runnable which lets us start running before we even know what to run.
- RequestState - Class in com.google.apphosting.runtime
- RequestState() - Constructor for class com.google.apphosting.runtime.RequestState
- RequestThreadManager - Interface in com.google.apphosting.runtime
-
Thread manager interface for specifically getting request threads
- requestThreads() - Method in class com.google.apphosting.runtime.RequestState
-
Returns a snapshot of the threads that belong to this request and that should terminate when the request terminates.
- resetCurrentThread() - Static method in class com.google.apphosting.runtime.ThreadGroupPool
-
If the current thread is main thread started in response to a call to
ThreadGroupPool.start(java.lang.String, java.lang.Runnable)
, this method will arrange for it to expect to be "restarted." - ResponseAPIData - Interface in com.google.apphosting.runtime
-
This interface defines a set of operations required for a Response to be used by the Java Runtime.
- rpcPlugin() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- run() - Method in class com.google.apphosting.runtime.ApiProxyImpl.CurrentRequestThread
- run() - Method in class com.google.apphosting.runtime.RequestManager.DeadlineRunnable
- run() - Method in class com.google.apphosting.runtime.RequestRunner.EagerRunner
- run() - Method in class com.google.apphosting.runtime.RequestRunner
- running - Variable in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- RuntimeLogSink - Class in com.google.apphosting.runtime
-
RuntimeLogSink
attaches a rootHandler
that records all log messagesLevel.INFO
or higher as aRuntimePb.UPResponse.RuntimeLogLine
attached to the currentRuntimePb.UPResponse
. - RuntimeLogSink(long) - Constructor for class com.google.apphosting.runtime.RuntimeLogSink
- runtimeVersion() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
S
- sendDeadline(AnyRpcServerContext, ModelClonePb.DeadlineInfo) - Method in interface com.google.apphosting.runtime.anyrpc.CloneControllerServerInterface
- sendDeadline(AnyRpcServerContext, ModelClonePb.DeadlineInfo) - Method in class com.google.apphosting.runtime.CloneControllerImpl
- sendDeadline(RequestManager.RequestToken, boolean) - Method in class com.google.apphosting.runtime.RequestManager
- sendDeadline(String, boolean) - Method in class com.google.apphosting.runtime.RequestManager
- serverStarted() - Method in class com.google.apphosting.runtime.anyrpc.AnyRpcPlugin
-
Returns true if the server has been started and has not stopped.
- serverStarted() - Method in class com.google.apphosting.runtime.NullRpcPlugin
- serviceRequest(RuntimePb.UPRequest, MutableUpResponse) - Method in interface com.google.apphosting.runtime.UPRequestHandler
-
Executes the HTTP request specified by
upRequest
and writes the response toupResponse
. - servletEngine() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- ServletEngineAdapter - Interface in com.google.apphosting.runtime
-
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.
- ServletEngineAdapter.Config - Class in com.google.apphosting.runtime
-
Options to configure a Jetty HTTP server, forwarding servlet requests to the GAE Java runtime.
- ServletEngineAdapter.Config.Builder - Class in com.google.apphosting.runtime
-
Builder for
Config
instances. - set(Map<String, String>) - Static method in class com.google.apphosting.runtime.FileEncodingSetter
- setAllowNewRequestThreadCreation(boolean) - Method in class com.google.apphosting.runtime.RequestState
- setApiHost(APIHostClientInterface) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setApiProxyImpl(ApiProxyImpl) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setAppInfo(AppinfoPb.AppInfo) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setApplicationRoot(String) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setAppVersion(AppVersion) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setAppVersionKey(AppVersionKey) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setByteCountBeforeFlushing(long) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setClassLoader(ClassLoader) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setClearLogHandlers(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setCloneIsInUncleanState(boolean) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setCloneIsInUncleanState(boolean) - Method in interface com.google.apphosting.runtime.ResponseAPIData
- setCloneIsInUncleanState(boolean) - Method in class com.google.apphosting.runtime.UpResponseAPIData
- setCloudSqlJdbcConnectivityEnabled(boolean) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setCompressResponse(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setCompressResponse(boolean) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setConfiguration(ApplicationEnvironment.RuntimeConfiguration) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setCoordinator(BackgroundRequestCoordinator) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setCoordinator(BackgroundRequestCoordinator) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setCoordinator(BackgroundRequestCoordinator) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setCyclesPerSecond(long) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setDeadline(double) - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
-
Set the deadline that will be applied to the RPC call made using this context.
- setDeadlineOracle(ApiDeadlineOracle) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setDeadlineOracle(ApiDeadlineOracle) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setDefaultToNativeUrlStreamHandler(boolean) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
- setDefaultToNativeUrlStreamHandler(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setDisableApiCallLogging(boolean) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setDisableDeadlineTimers(boolean) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setEnableHotspotPerformanceMetrics(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setEnvironment(ApplicationEnvironment) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setEnvironment(Map<String, String>) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setError(int) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setErrorMessage(String) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setEvaluationRuntimeServerInterface(EvaluationRuntimeServerInterface) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setExternalDatacenterName(String) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setFailure(MutableUpResponse, RuntimePb.UPResponse.ERROR, String) - Static method in class com.google.apphosting.runtime.RequestRunner
-
Create a failure response from the given code and message.
- setFixedApplicationPath(String) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setFixedApplicationPath(String) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
- setFixedApplicationPath(String) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setForceUrlfetchUrlStreamHandler(boolean) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
- setForceUrlfetchUrlStreamHandler(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setHardDeadlineDelay(long) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setHardDeadlinePassed(boolean) - Method in class com.google.apphosting.runtime.RequestState
- setHttpResponseCode(int) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setHttpResponseCodeAndResponse(int, String) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setHttpResponseResponse(ByteString) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setIgnoreDaemonThreads(boolean) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
- setIgnoreDaemonThreads(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setIgnoreDaemonThreads(boolean) - Method in class com.google.apphosting.runtime.ThreadGroupPool.Builder
- setInterruptFirstOnSoftDeadline(boolean) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setJettyHttpAddress(HostAndPort) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setJettyRequestHeaderSize(int) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setJettyResponseHeaderSize(int) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setJettyReusePort(boolean) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setJsonLogDir(Path) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setLabel(CloudTraceContext, String, String) - Method in class com.google.apphosting.runtime.TraceWriter
-
Set a label on the current span.
- setLogJsonToFile(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setLogToLogservice(boolean) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setMaxLogFlushTime(Duration) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setMaxLogLineSize(int) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setMaxOutstandingApiRpcs(int) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setMaxOutstandingApiRpcs(int) - Method in class com.google.apphosting.runtime.RequestManager
- setParentThreadGroup(ThreadGroup) - Method in class com.google.apphosting.runtime.ThreadGroupPool.Builder
- setPassThroughPrivateHeaders(boolean) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setPendingCloudDebuggerActionBreakpointUpdates(boolean) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setPendingCloudDebuggerActionDebuggeeRegistration(boolean) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setPollForNetwork(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setPublicRoot(String) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setRedirectStdoutStderr(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setRequestManager(RequestManager) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setRequestManager(RequestManager) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setRequestManager(RequestThreadManager) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- setRootDirectory(File) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setRpc(AnyRpcServerContext) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setRpcPlugin(AnyRpcPlugin) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setRuntimeLogSink(Optional<RuntimeLogSink>) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setRuntimeVersion(String) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
-
The runtime version which is reported to users.
- setRuntimeVersion(String) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setSandboxPlugin(NullSandboxPlugin) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
-
The root directory where all application versions are persisted.
- setSandboxPlugin(NullSandboxPlugin) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setSerializedTrace(ByteString) - Method in interface com.google.apphosting.runtime.ResponseAPIData
- setSerializedTrace(ByteString) - Method in class com.google.apphosting.runtime.UpResponseAPIData
- setServletEngine(ServletEngineAdapter) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setSessionsConfig(SessionsConfig) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setSessionStoreFactory(SessionStoreFactory) - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
Deprecated.
- setSharedDirectory(File) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
- setSharedDirectory(File) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setSoftDeadlineDelay(long) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setSoftDeadlinePassed(boolean) - Method in class com.google.apphosting.runtime.RequestState
- setTerminateClone(boolean) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setTerminateClone(boolean) - Method in interface com.google.apphosting.runtime.ResponseAPIData
- setTerminateClone(boolean) - Method in class com.google.apphosting.runtime.UpResponseAPIData
- setThreadGroupNamePrefix(String) - Method in class com.google.apphosting.runtime.ThreadGroupPool.Builder
- setThreadGroupPool(ThreadGroupPool) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setThreadStopTerminatesClone(boolean) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class com.google.apphosting.runtime.ThreadGroupPool.Builder
- setUpRequest(RuntimePb.UPRequest) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setUpRequestHandler(UPRequestHandler) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setUpResponse(MutableUpResponse) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setUseEnvVarsFromAppInfo(boolean) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
- setUseEnvVarsFromAppInfo(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setUseJettyHttpProxy(boolean) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setUserMcycles(long) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setUserMcycles(long) - Method in interface com.google.apphosting.runtime.ResponseAPIData
- setUserMcycles(long) - Method in class com.google.apphosting.runtime.UpResponseAPIData
- setWaitForDaemonRequestThreads(boolean) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- sharedDirectory() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- shouldKillCloneAfterException(Throwable) - Static method in class com.google.apphosting.runtime.RequestRunner
- shutdown() - Method in class com.google.apphosting.runtime.anyrpc.AnyRpcPlugin
-
Performs any actions that are necessary to shut down any clients or servers started from this plugin.
- shutdown() - Method in class com.google.apphosting.runtime.NullRpcPlugin
- shutdownRequests(RequestManager.RequestToken) - Method in class com.google.apphosting.runtime.RequestManager
-
Notify requests that the server is shutting down.
- SKIP_ADMIN_CHECK_ATTR - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- softDeadlineDelay() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- start() - Method in class com.google.apphosting.runtime.ApiProxyImpl.CurrentRequestThread
- start() - Method in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- start() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Start both timers.
- start() - Method in interface com.google.apphosting.runtime.timer.Timer
-
Start the timer running.
- start(ServletEngineAdapter.Config) - Method in class com.google.apphosting.runtime.JavaRuntime
-
Starts the Stubby service, and then perform any initialization that the servlet engine requires.
- start(String, ServletEngineAdapter.Config) - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
Performs whatever setup is necessary for this servlet container.
- start(String, Runnable) - Method in class com.google.apphosting.runtime.ThreadGroupPool
-
Execute
runnable
in a thread namedthreadName
. - startApiSpan(CloudTraceContext, String, String) - Method in class com.google.apphosting.runtime.TraceWriter
-
Start a API span as a child of the current span.
- startCancel() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
- startChildSpan(CloudTraceContext, String) - Method in class com.google.apphosting.runtime.TraceWriter
-
Start a new span as a child of the given context.
- startRequest(AppVersion, AnyRpcServerContext, RuntimePb.UPRequest, MutableUpResponse, ThreadGroup) - Method in class com.google.apphosting.runtime.RequestManager
- startRequest(AppVersion, AnyRpcServerContext, RequestAPIData, ResponseAPIData, ThreadGroup) - Method in class com.google.apphosting.runtime.RequestManager
-
Set up any state necessary to execute a new request using the specified parameters.
- startRequestSpan(String) - Method in class com.google.apphosting.runtime.TraceWriter
-
Start a request span as a child of the current span.
- startRuntime(NullSandboxPlugin, String[]) - Static method in class com.google.apphosting.runtime.JavaRuntimeFactory
- startServer(EvaluationRuntimeServerInterface, CloneControllerServerInterface) - Method in class com.google.apphosting.runtime.anyrpc.AnyRpcPlugin
-
Starts the server using the two specified implementations of the RPC-agnostic EvaluationRuntime and CloneController interfaces.
- startServer(EvaluationRuntimeServerInterface, CloneControllerServerInterface) - Method in class com.google.apphosting.runtime.NullRpcPlugin
- startTime - Variable in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- statusException(Status.StatusProto, String, String, Throwable) - Static method in class com.google.apphosting.utils.runtime.ApiProxyUtils
-
Provides errors based on the status of the HTTP response.
- stop() - Method in class com.google.apphosting.runtime.JavaRuntime
-
Perform a graceful shutdown of our RPC service, and then shut down our servlet engine.
- stop() - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
Perform any shutdown procedures necessary for this servlet container.
- stop() - Method in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- stop() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Stop both timers.
- stop() - Method in interface com.google.apphosting.runtime.timer.Timer
-
Stop the timer.
- stopServer() - Method in class com.google.apphosting.runtime.anyrpc.AnyRpcPlugin
-
Stops the server.
- stopServer() - Method in class com.google.apphosting.runtime.NullRpcPlugin
- StreamHandlerFactory - Class in com.google.apphosting.runtime
-
A
URLStreamHandlerFactory
which installsURLStreamHandlers
that the App Engine runtime needs to support. - StreamHandlerFactory() - Constructor for class com.google.apphosting.runtime.StreamHandlerFactory
- success(T) - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcCallback
- supplyRunnable(Runnable) - Method in class com.google.apphosting.runtime.RequestRunner.EagerRunner
-
Pass the given runnable to whatever thread's running our run method.
T
- ThreadGroupPool - Class in com.google.apphosting.runtime
-
ThreadGroupPool
is a very simple thread pool where each pooled thread is in its ownThreadGroup
. - ThreadGroupPool(ThreadGroup, String, Thread.UncaughtExceptionHandler, boolean) - Constructor for class com.google.apphosting.runtime.ThreadGroupPool
- ThreadGroupPool.Builder - Class in com.google.apphosting.runtime
-
Builder for ThreadGroupPool.
- threadStopTerminatesClone() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- Timer - Interface in com.google.apphosting.runtime.timer
-
Timer
is a base interface for various timer implementations provided in this package. - TimerFactory - Class in com.google.apphosting.runtime.timer
-
TimerFactory
creates newTimer
instances. - TimerFactory(long, TimerSet...) - Constructor for class com.google.apphosting.runtime.timer.TimerFactory
-
Create a
TimerFactory
. - TimerSet - Interface in com.google.apphosting.runtime.timer
-
TimerSet
is an abstraction for creating one or moreTimer
instances that are interdependent in some way. - toString() - Method in class com.google.apphosting.base.AppVersionKey
- toString() - Method in class com.google.apphosting.runtime.RequestManager.DeadlineRunnable
- toString() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
- TraceContextHelper - Class in com.google.apphosting.runtime
-
Helper functions for trace context.
- traceContextPropagating(Runnable) - Method in class com.google.apphosting.runtime.anyrpc.AnyRpcPlugin
-
Wraps the provided
Runnable
so as to assure propagation of the tracing context. - traceContextPropagating(Runnable) - Method in class com.google.apphosting.runtime.NullRpcPlugin
- TraceWriter - Class in com.google.apphosting.runtime
-
Stores trace spans for a single request, and flushes them into
RuntimePb.UPResponse
. - TraceWriter(CloudTraceContext, MutableUpResponse) - Constructor for class com.google.apphosting.runtime.TraceWriter
-
Deprecated.
- TraceWriter(CloudTraceContext, ResponseAPIData) - Constructor for class com.google.apphosting.runtime.TraceWriter
U
- UNSPECIFIED_IP - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- update() - Method in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- update() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
- update() - Method in interface com.google.apphosting.runtime.timer.Timer
-
Update any internal state.
- update(long) - Method in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- UpRequestAPIData - Class in com.google.apphosting.runtime
- UpRequestAPIData(RuntimePb.UPRequest) - Constructor for class com.google.apphosting.runtime.UpRequestAPIData
- UPRequestHandler - Interface in com.google.apphosting.runtime
-
Defines an interface for handling the Prometheus Untrusted Process API.
- UpResponseAPIData - Class in com.google.apphosting.runtime
- UpResponseAPIData(MutableUpResponse) - Constructor for class com.google.apphosting.runtime.UpResponseAPIData
- useEnvVarsFromAppInfo() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- useJettyHttpProxy() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Boolean to turn on the Jetty HTTP server.
- useNativeUrlStreamHandler(String) - Static method in class com.google.apphosting.runtime.NetworkServiceDiverter
- userRunnable() - Method in class com.google.apphosting.runtime.ApiProxyImpl.CurrentRequestThread
-
Returns the original Runnable that was supplied to the thread factory, before any wrapping we may have done.
V
- VersionId - Class in com.google.apphosting.base
-
A parsed Version Id.
- VersionId() - Constructor for class com.google.apphosting.base.VersionId
W
- WAIT_FOR_USER_RUNNABLE_DEADLINE - Static variable in class com.google.apphosting.runtime.RequestRunner
-
How long should we wait for
ApiProxyImpl
to exchange the background thread'sRunnable
. - waitForDaemonRequestThreads() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- waitForSandbox(AnyRpcServerContext, EmptyMessage) - Method in interface com.google.apphosting.runtime.anyrpc.CloneControllerServerInterface
- waitForSandbox(AnyRpcServerContext, EmptyMessage) - Method in class com.google.apphosting.runtime.CloneControllerImpl
-
Obsolete operation.
- waitForThreadStart(String, Runnable, long) - Method in class com.google.apphosting.runtime.BackgroundRequestCoordinator
-
Wait for the fake request with the specified
requestId
to callBackgroundRequestCoordinator.waitForUserRunnable(java.lang.String, java.lang.Thread, long)
and then exchangerunnable
for the specifiedThread
. - waitForUserRunnable(String, Thread, long) - Method in class com.google.apphosting.runtime.BackgroundRequestCoordinator
-
Wait for the system API call with the specified
requestId
to callBackgroundRequestCoordinator.waitForThreadStart(java.lang.String, java.lang.Runnable, long)
and then exchangethread
for the specifiedRunnable
. - waitingThreadCount() - Method in class com.google.apphosting.runtime.ThreadGroupPool
- WARMUP_IP - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- WARMUP_REQUEST_URL - Static variable in class com.google.apphosting.runtime.AppEngineConstants
X
- X_APPENGINE_API_TICKET - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_APPSERVER_DATACENTER - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_APPSERVER_TASK_BNS - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_AUTH_DOMAIN - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_BACKGROUNDREQUEST - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_DEFAULT_VERSION_HOSTNAME - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_GAIA_AUTHUSER - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_GAIA_ID - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_GAIA_SESSION - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_HTTPS - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_ID_HASH - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_LOAS_PEER_USERNAME - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_QUEUENAME - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_REQUEST_LOG_ID - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_TIMEOUT_MS - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_TRUSTED_IP_REQUEST - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_USER_EMAIL - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_USER_ID - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_USER_IP - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_USER_IS_ADMIN - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_USER_NICKNAME - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_APPENGINE_USER_ORGANIZATION - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_CLOUD_TRACE_CONTEXT - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_FORWARDED_PROTO - Static variable in class com.google.apphosting.runtime.AppEngineConstants
-
The HTTP headers that are handled specially by this proxy are defined in lowercase because HTTP headers are case-insensitive, and we look then up in a set or switch after converting to lower-case.
- X_GOOGLE_INTERNAL_PROFILER - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_GOOGLE_INTERNAL_SKIPADMINCHECK - Static variable in class com.google.apphosting.runtime.AppEngineConstants
- X_GOOGLE_INTERNAL_SKIPADMINCHECK_UC - Static variable in class com.google.apphosting.runtime.AppEngineConstants
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form