A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abort(Throwable) - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- AbstractIntervalTimer - Class in com.google.apphosting.runtime.timer
-
AbstractIntervalTimeris common base class forTimerimplementations 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
-
AbstractSharedTimerSettracks a single counter that is shared by all of theTimerinstances that are part of the set. - AbstractSharedTimerSet() - Constructor for class com.google.apphosting.runtime.timer.AbstractSharedTimerSet
- accept(int) - Method in class com.google.apphosting.runtime.jetty94.RpcConnector
- addAppLogMessage(ApiProxy.LogRecord.Level, String) - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- addAppVersion(AppinfoPb.AppInfo) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub
-
Add an app version to the runtime.
- addAppVersion(AppinfoPb.AppInfo) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub
-
Add an app version to the runtime.
- addAppVersion(AppinfoPb.AppInfo, StreamObserver<EmptyMessage>) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeImplBase
-
Add an app version to the runtime.
- addAppVersion(AppinfoPb.AppInfo, StreamObserver<EmptyMessage>) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeStub
-
Add an app version to the runtime.
- 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 class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
- addAppVersion(AppVersion) - Method in class com.google.apphosting.runtime.jetty94.JettyServletEngineAdapter
- addAppVersion(AppVersion) - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
Register the specified application version for future calls to
serviceRequest. - addEventListener(EventListener) - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
- addHandler(Handler) - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
-
Not supported.
- 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
- addListener(Connection.Listener) - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- 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 extends com.google.protobuf.MessageLite> - 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
-
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. - 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.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
-
ApiProxyUtilsis a utility class with functions shared by ApiProxy delegates, e.g. - APP_VERSION_CONTEXT_ATTR - Static variable in class com.google.apphosting.runtime.jetty9.JettyConstants
-
This
ServletContextattribute contains theAppVersionfor the current application. - APP_VERSION_KEY_REQUEST_ATTR - Static variable in class com.google.apphosting.runtime.jetty9.JettyConstants
-
This
ServletRequestattribute contains theAppVersionKeyidentifying the current application. - APP_YAML_ATTRIBUTE_TARGET - Static variable in class com.google.apphosting.runtime.jetty94.Jetty94Constants
- AppEngineQuickStartConfiguration - Class in com.google.apphosting.runtime.jetty9
-
Replace the default handling of temp directories in QuickStartConfiguration.
- AppEngineQuickStartConfiguration() - Constructor for class com.google.apphosting.runtime.jetty9.AppEngineQuickStartConfiguration
- AppEngineServletContext() - Constructor for class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext.AppEngineServletContext
- AppEngineWebAppContext - Class in com.google.apphosting.runtime.jetty94
-
AppEngineWebAppContextis a customization of Jetty'sWebAppContextthat is aware of theApiProxyand can provide custom logging and authentication. - AppEngineWebAppContext(File, String) - Constructor for class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
- AppEngineWebAppContext(File, String, boolean) - Constructor for class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
- AppEngineWebAppContext.AppEngineServletContext - Class in com.google.apphosting.runtime.jetty94
-
A context that uses our logs API to log messages.
- AppEngineWebAppContextFactory - Class in com.google.apphosting.runtime.jetty94
-
This factory creates
AppEngineWebAppContext. - AppEngineWebAppContextFactory() - Constructor for class com.google.apphosting.runtime.jetty94.AppEngineWebAppContextFactory
- AppEngineWebInfConfiguration - Class in com.google.apphosting.runtime.jetty9
-
Replace the default handling of temp directories in WebInfConfiguration.
- AppEngineWebInfConfiguration() - Constructor for class com.google.apphosting.runtime.jetty9.AppEngineWebInfConfiguration
- AppId - Class in com.google.apphosting.base
-
Class used for parsing the various components of the AppId.
- AppInfoFactory - Class in com.google.apphosting.runtime.jetty94
-
Builds AppinfoPb.AppInfo from the given ServletEngineAdapter.Config and environment.
- AppInfoFactory(Map<String, String>) - Constructor for class com.google.apphosting.runtime.jetty94.AppInfoFactory
- APPLICATION - com.google.apphosting.runtime.CloudDebuggerCallback.ClassType
- applicationRoot() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Base root area for a given application.
- AppLogsWriter - Class in com.google.apphosting.runtime
-
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. - AppLogsWriter(MutableUpResponse, long, int, int) - Constructor for class com.google.apphosting.runtime.AppLogsWriter
-
Construct an AppLogsWriter instance.
- applyCloneSettings(ClonePb.CloneSettings) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerBlockingStub
-
Updates per-app settings for this clone.
- applyCloneSettings(ClonePb.CloneSettings) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerFutureStub
-
Updates per-app settings for this clone.
- applyCloneSettings(ClonePb.CloneSettings, StreamObserver<EmptyMessage>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerImplBase
-
Updates per-app settings for this clone.
- applyCloneSettings(ClonePb.CloneSettings, StreamObserver<EmptyMessage>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerStub
-
Updates per-app settings for this clone.
- 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.CloneSettingsreceived from the AppServer. - applyLogProperties(String, ClassLoader) - Method in class com.google.apphosting.runtime.Logging
- AppVersion - Class in com.google.apphosting.runtime
-
AppVersionencapsulates 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
-
AppVersionFactoryconstructs 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.
- AppVersionHandlerFactory - Class in com.google.apphosting.runtime.jetty94
-
AppVersionHandlerFactoryimplements aHandlerfor a givenAppVersionKey. - AppVersionHandlerFactory(Server, String, WebAppContextFactory, boolean) - Constructor for class com.google.apphosting.runtime.jetty94.AppVersionHandlerFactory
- AppVersionHandlerMap - Class in com.google.apphosting.runtime.jetty94
-
AppVersionHandlerMapis aHandlerContainerthat identifies each childHandlerwith a particularAppVersionKey. - AppVersionHandlerMap(AppVersionHandlerFactory) - Constructor for class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
- 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
- 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
- BackgroundRequestCoordinator - Class in com.google.apphosting.runtime
-
BackgroundRequestCoordinator facilitates the exchange of two pieces of data between the background
ThreadFactoryand theJavaRuntimecode that processes the fake request. - BackgroundRequestCoordinator() - Constructor for class com.google.apphosting.runtime.BackgroundRequestCoordinator
- bind(ClassLoader) - Static method in class com.google.apphosting.runtime.CloudDebuggerAgent
-
Starts the initialization sequence of the Java Cloud Debugger agent.
- bind(ClassLoader) - Method in interface com.google.apphosting.runtime.CloudDebuggerAgentWrapper
- bindService() - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerImplBase
- bindService() - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeImplBase
- 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.grpc.GrpcPlugin
- 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
Configinstance. - build() - Method in class com.google.apphosting.runtime.ThreadGroupPool.Builder
- build(Channel, CallOptions) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerBlockingStub
- build(Channel, CallOptions) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerFutureStub
- build(Channel, CallOptions) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerStub
- build(Channel, CallOptions) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub
- build(Channel, CallOptions) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub
- build(Channel, CallOptions) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeStub
- 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
- call(Channel, MethodDescriptor<ReqT, RespT>, ReqT, StreamObserver<RespT>) - Method in class com.google.apphosting.runtime.grpc.GrpcClientContext
- CallbackStreamObserver<ResponseT extends com.google.protobuf.Message> - Class in com.google.apphosting.runtime.grpc
-
gRPC client-side stream observer that converts the received RPC response into a call on the supplied
AnyRpcCallback. - checkAlias(String, Resource) - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
- checkIfUnmodified(HttpServletRequest, HttpServletResponse, Resource) - Method in class com.google.apphosting.runtime.jetty94.FileSender
-
Check the headers to see if content needs to be sent.
- checkRequestLimit(long) - Method in class com.google.apphosting.runtime.jetty94.SizeLimitHandler
- checkResponseLimit(long) - Method in class com.google.apphosting.runtime.jetty94.SizeLimitHandler
- clearHttpResponse() - Method in class com.google.apphosting.runtime.MutableUpResponse
- CloneControllerGrpc - Class in com.google.apphosting.base.protos
- CloneControllerGrpc.CloneControllerBlockingStub - Class in com.google.apphosting.base.protos
- CloneControllerGrpc.CloneControllerFutureStub - Class in com.google.apphosting.base.protos
- CloneControllerGrpc.CloneControllerImplBase - Class in com.google.apphosting.base.protos
- CloneControllerGrpc.CloneControllerStub - Class in com.google.apphosting.base.protos
- CloneControllerImpl - Class in com.google.apphosting.runtime
-
CloneControllerImplimplements theCloneControllerServerInterfaceRPC interface. - CloneControllerImpl(CloneControllerImpl.Callback, ApiDeadlineOracle, RequestManager, ByteBuffer, CloudDebuggerAgentWrapper) - 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.
- CloneControllerImplBase() - Constructor for class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerImplBase
- CloneControllerServerInterface - Interface in com.google.apphosting.runtime.anyrpc
-
RPC-agnostic equivalent of CloneController.ServerInterface.
- close() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- close() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- 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
- CloudDebuggerAgent - Class in com.google.apphosting.runtime
-
Native methods exposed by Java Cloud Debugger agent.
- CloudDebuggerAgentWrapper - Interface in com.google.apphosting.runtime
-
Wraps
CloudDebuggerAgentwith interface. - CloudDebuggerCallback - Interface in com.google.apphosting.runtime
-
Callback interface used by Cloud Debugger to query AppEngine Classic runtime.
- CloudDebuggerCallback.ClassType - Enum in com.google.apphosting.runtime
-
Classification of a Java class.
- cloudDebuggerEnabled() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- cloudSqlJdbcConnectivityEnabled() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- com.google.apphosting.base - package com.google.apphosting.base
- com.google.apphosting.base.protos - package com.google.apphosting.base.protos
- com.google.apphosting.runtime - package com.google.apphosting.runtime
- com.google.apphosting.runtime.anyrpc - package com.google.apphosting.runtime.anyrpc
- com.google.apphosting.runtime.grpc - package com.google.apphosting.runtime.grpc
- com.google.apphosting.runtime.http - package com.google.apphosting.runtime.http
- com.google.apphosting.runtime.jetty9 - package com.google.apphosting.runtime.jetty9
- com.google.apphosting.runtime.jetty94 - package com.google.apphosting.runtime.jetty94
- com.google.apphosting.runtime.timer - package com.google.apphosting.runtime.timer
- com.google.apphosting.utils.runtime - package com.google.apphosting.utils.runtime
- 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
- configureTempDirectory(File, WebAppContext) - Method in class com.google.apphosting.runtime.jetty9.AppEngineQuickStartConfiguration
- configureTempDirectory(File, WebAppContext) - Method in class com.google.apphosting.runtime.jetty9.AppEngineWebInfConfiguration
- 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
-
CpuRatioTimeris a compositeTimerthat is backed by two otherTimerobjects -- e.g. - 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
-
CpuSpeedExtractorcan be used to extract the CPU speed of the current machine. - CpuSpeedExtractorFactory - Class in com.google.apphosting.runtime.timer
-
Creates a
CpuSpeedExtractorthat 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
- create(HostAndPort, OptionalInt) - Static method in class com.google.apphosting.runtime.http.HttpApiHostClientFactory
-
Creates a new HttpApiHostClient instance to talk to the HTTP-based API server on the given host and port.
- createAppVersion(AppinfoPb.AppInfo, AppEngineWebXml, ApplicationEnvironment.RuntimeConfiguration) - Method in class com.google.apphosting.runtime.AppVersionFactory
-
Create an
AppVersionfrom the specifiedAppInfoprotocol buffer. - createAppVersionForTest(AppinfoPb.AppInfo) - Method in class com.google.apphosting.runtime.AppVersionFactory
-
Creates a new
AppVersionwith a default RuntimeConfiguration. - createContext(AppVersion, String) - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContextFactory
- createContext(AppVersion, String) - Method in interface com.google.apphosting.runtime.jetty94.WebAppContextFactory
- createEnvironment(AppVersion, RuntimePb.UPRequest, MutableUpResponse, TraceWriter, CpuRatioTimer, String, List<Future<?>>, Semaphore, ThreadGroup, RequestState, Long) - Method in class com.google.apphosting.runtime.ApiProxyImpl
-
Creates an
ApiProxy.Environmentinstance that is suitable for use with this class. - createHandler(AppVersion) - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerFactory
-
Returns the
Handlerthat will handle requests for the specified application version. - 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
- defaultToNativeUrlStreamHandler() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- deleteAppVersion(AppinfoPb.AppInfo) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub
-
Delete an app version from the runtime.
- deleteAppVersion(AppinfoPb.AppInfo) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub
-
Delete an app version from the runtime.
- deleteAppVersion(AppinfoPb.AppInfo, StreamObserver<EmptyMessage>) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeImplBase
-
Delete an app version from the runtime.
- deleteAppVersion(AppinfoPb.AppInfo, StreamObserver<EmptyMessage>) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeStub
-
Delete an app version from the runtime.
- 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 class com.google.apphosting.runtime.jetty94.JettyServletEngineAdapter
- deleteAppVersion(AppVersion) - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
Remove the specified application version and free up any resources associated with it.
- dequeueBreakpointUpdates() - Static method in class com.google.apphosting.runtime.CloudDebuggerAgent
-
Pulls breakpoint updates to send to the Cloud Debugger service through AppServer.
- dequeueBreakpointUpdates() - Method in interface com.google.apphosting.runtime.CloudDebuggerAgentWrapper
- disable() - Method in interface com.google.apphosting.runtime.anyrpc.APIHostClientInterface
-
Closes any outgoing connections using this client and prevents new ones from being created.
- disableApiCallLogging() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- disableCloudDebugger() - Method in class com.google.apphosting.runtime.RequestManager
-
Disables Cloud Debugger.
- 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.
- doGet(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty9.NamedDefaultServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.NamedDefaultServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.NamedJspServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.ResourceFileServlet
-
Retrieve the static resource file indicated.
- doHandle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
- doPost(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty9.NamedDefaultServlet
- doPost(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.NamedDefaultServlet
- doPost(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.NamedJspServlet
- doPost(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.ResourceFileServlet
- doStart() - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
- doStart() - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
- doStop() - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
- doTrace(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty9.NamedDefaultServlet
- doTrace(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.NamedDefaultServlet
- doTrace(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.NamedJspServlet
- doTrace(HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.ResourceFileServlet
E
- enable() - Method in interface com.google.apphosting.runtime.anyrpc.APIHostClientInterface
-
Allows new connections to be created from this client.
- enableCloudDebugger() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- 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.
- EvaluationRuntimeGrpc - Class in com.google.apphosting.base.protos
-
A service for evaluating HTTP requests.
- EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub - Class in com.google.apphosting.base.protos
-
A service for evaluating HTTP requests.
- EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub - Class in com.google.apphosting.base.protos
-
A service for evaluating HTTP requests.
- EvaluationRuntimeGrpc.EvaluationRuntimeImplBase - Class in com.google.apphosting.base.protos
-
A service for evaluating HTTP requests.
- EvaluationRuntimeGrpc.EvaluationRuntimeStub - Class in com.google.apphosting.base.protos
-
A service for evaluating HTTP requests.
- EvaluationRuntimeImplBase() - Constructor for class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeImplBase
- 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
- expandChildren(List<Handler>, Class<?>) - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
- 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.
- FileSender - Class in com.google.apphosting.runtime.jetty94
-
Cass that sends data with headers.
- FileSender(AppYaml) - Constructor for class com.google.apphosting.runtime.jetty94.FileSender
- fill(ByteBuffer) - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- fillInterested(Callback) - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- 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
startRequestwas 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.
- finishWithResponse(MessageLite) - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcServerContext
-
Indicates that the RPC was handled successfully.
- 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
- flush(ByteBuffer...) - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- 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(MutableUpResponse) - 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.
- ForwardingHandler(ServletEngineAdapter.Config, Map<String, String>) - Constructor for class com.google.apphosting.runtime.jetty94.JettyHttpProxy.ForwardingHandler
- 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
- getActiveCount() - Method in class com.google.apphosting.runtime.timer.AbstractSharedTimerSet
- getActiveCount() - Method in interface com.google.apphosting.runtime.timer.TimerSet
-
Returns the number of
Timerinstances in this set that are currently active (i.e. - getAddAppVersionMethod() - Static method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc
- getAllowNewRequestThreadCreation() - Method in class com.google.apphosting.runtime.RequestState
- 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
- getAppInfoFromAppYaml(AppYaml) - Method in class com.google.apphosting.runtime.jetty94.AppInfoFactory
- getAppInfoFromFile(String, String) - Method in class com.google.apphosting.runtime.jetty94.AppInfoFactory
-
Creates a AppinfoPb.AppInfo object.
- getAppInfoWithApiVersion(String) - Method in class com.google.apphosting.runtime.jetty94.AppInfoFactory
- getApplicationError() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
- getApplicationError() - Method in class com.google.apphosting.runtime.grpc.GrpcClientContext
- getAppLog(int) - Method in class com.google.apphosting.runtime.MutableUpResponse
- getApplyCloneSettingsMethod() - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
- 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
- getBytesIn() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- getBytesOut() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- getClassLoader() - Method in class com.google.apphosting.runtime.AppVersion
-
Returns the custom
ClassLoaderthat will safely load classes and resource files that were published along with this application version. - getClassLoader() - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext.AppEngineServletContext
- getClassType(Class<?>) - Method in class com.google.apphosting.runtime.AppVersion
- getClassType(Class<?>) - Method in interface com.google.apphosting.runtime.CloudDebuggerCallback
-
Classifies Java class.
- getConnection() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- getConverter(Class<T>) - Method in class com.google.apphosting.runtime.ParameterFactory
- getCpuCycleTimer(Thread) - Method in class com.google.apphosting.runtime.timer.TimerFactory
-
Return a
Timerthat 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
CpuRatioTimerthat tracks both the CPU usage of the specifiedThreadand the wallclock time. - getCpuRatioTimer(ThreadGroup) - Method in class com.google.apphosting.runtime.timer.TimerFactory
-
Returns a
CpuRatioTimerthat tracks both the CPU usage of the specifiedThreadGroupand the wallclock time. - getCpuUsageTimer() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Returns the underlying CPU usage
Timer. - getCreatedTimeStamp() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- getCreatedTimeStamp() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- 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
- getDebuggeeInfo(ClonePb.DebuggeeInfoRequest) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerBlockingStub
-
Gets source context of the clone app.
- getDebuggeeInfo(ClonePb.DebuggeeInfoRequest) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerFutureStub
-
Gets source context of the clone app.
- getDebuggeeInfo(ClonePb.DebuggeeInfoRequest, StreamObserver<ClonePb.DebuggeeInfoResponse>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerImplBase
-
Gets source context of the clone app.
- getDebuggeeInfo(ClonePb.DebuggeeInfoRequest, StreamObserver<ClonePb.DebuggeeInfoResponse>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerStub
-
Gets source context of the clone app.
- getDebuggeeInfo(AnyRpcServerContext, ClonePb.DebuggeeInfoRequest) - Method in interface com.google.apphosting.runtime.anyrpc.CloneControllerServerInterface
- getDebuggeeInfo(AnyRpcServerContext, ClonePb.DebuggeeInfoRequest) - Method in class com.google.apphosting.runtime.CloneControllerImpl
- getDeleteAppVersionMethod() - Static method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc
- 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
- getEndPoint() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- 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
- getErrorDetail() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
- getErrorDetail() - Method in class com.google.apphosting.runtime.grpc.GrpcClientContext
- getException() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
- getException() - Method in class com.google.apphosting.runtime.grpc.GrpcClientContext
- getExtractor() - Method in class com.google.apphosting.runtime.timer.CpuSpeedExtractorFactory
-
Returns the
CpuSpeedExtractor. - getGaeApplication() - Method in class com.google.apphosting.runtime.jetty94.AppInfoFactory
- getGaeService() - Method in class com.google.apphosting.runtime.jetty94.AppInfoFactory
- getGaeServiceVersion() - Method in class com.google.apphosting.runtime.jetty94.AppInfoFactory
- getGaeVersion() - Method in class com.google.apphosting.runtime.jetty94.AppInfoFactory
- getGetDebuggeeInfoMethod() - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
- getGetPerformanceDataMethod() - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
- getGlobalId() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcServerContext
-
Returns a trace id for this request.
- getHandler(AppVersionKey) - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
-
Returns the
Handlerthat will handle requests for the specified application version. - getHandleRequestMethod() - Static method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc
- getHandlers() - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
- getHttpConfiguration() - Method in class com.google.apphosting.runtime.jetty94.RpcConnector
- 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
- getIdleTimeout() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- getKey() - Method in class com.google.apphosting.runtime.AppVersion
-
Returns the
AppVersionKeythat can be used as an identifier for thisAppVersion. - getLocalAddress() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- getLongAppId() - Method in class com.google.apphosting.base.AppId
- getMajorVersion() - Method in class com.google.apphosting.base.VersionId
-
Returns the majorVersion.
- getMessagesIn() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- getMessagesOut() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- getMinorVersion() - Method in class com.google.apphosting.base.VersionId
-
Returns the minorVersion or
nullif no minor version was present. - getModuleId() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- 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
Timerwas started and when it was stopped. - getPartition() - Method in class com.google.apphosting.base.AppId
- getPerformanceData(ModelClonePb.PerformanceDataRequest) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerBlockingStub
-
Deprecated.
- getPerformanceData(ModelClonePb.PerformanceDataRequest) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerFutureStub
-
Deprecated.
- getPerformanceData(ModelClonePb.PerformanceDataRequest, StreamObserver<ClonePb.PerformanceData>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerImplBase
-
Deprecated.
- getPerformanceData(ModelClonePb.PerformanceDataRequest, StreamObserver<ClonePb.PerformanceData>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerStub
-
Deprecated.
- 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
- getProtocol() - Method in class com.google.apphosting.runtime.jetty94.RpcConnectionFactory
- getProtocols() - Method in class com.google.apphosting.runtime.jetty94.RpcConnectionFactory
- 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
- getRemoteAddress() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- getRequestId() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getRequestNamespace() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
-
Deprecated.
- getRequestThreads(ApiProxyImpl.EnvironmentImpl) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- 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.
- getSecurityTicket() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getSendDeadlineMethod() - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
- getServerInfo() - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext.AppEngineServletContext
- getServerPort() - Method in class com.google.apphosting.runtime.grpc.GrpcPlugin
- getServiceDescriptor() - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
- getServiceDescriptor() - Static method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc
- getSessionsConfig() - Method in class com.google.apphosting.runtime.AppVersion
- getSourceContext() - 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.grpc.GrpcClientContext
- 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
- getStatus() - Method in class com.google.apphosting.runtime.grpc.GrpcClientContext
- getTempDirectory() - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
-
Jetty needs a temp directory that already exists, so we point it to the directory of the war.
- 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.
- 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 class com.google.apphosting.runtime.TraceWriter
-
Gets the current trace context.
- 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
- getTransport() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- getTransport() - Method in class com.google.apphosting.runtime.jetty94.RpcConnector
- getUpdateActiveBreakpointsMethod() - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
- getUpRequest() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- getUpResponse() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- 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
- getWaitForSandboxMethod() - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
- 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
Timerthat counts wallclock time. - GrpcClientContext - Class in com.google.apphosting.runtime.grpc
-
An
AnyRpcClientContextthat will record the details of a gRPC call. - GrpcClientContext(Clock) - Constructor for class com.google.apphosting.runtime.grpc.GrpcClientContext
- GrpcPlugin - Class in com.google.apphosting.runtime.grpc
-
RPC plugin for gRPC.
- GrpcPlugin() - Constructor for class com.google.apphosting.runtime.grpc.GrpcPlugin
H
- handle(AppVersionKey) - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty9.ParseBlobUploadHandler
- handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
-
Forward the specified request on to the
Handlerassociated with its application version. - handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.JettyHttpProxy.ForwardingHandler
-
Forwards a request to the real runtime for handling.
- handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.google.apphosting.runtime.jetty94.SizeLimitHandler
- handleRequest(RuntimePb.UPRequest) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeBlockingStub
-
Given information an application and an HTTP request, execute the request and prepare a response for the user.
- handleRequest(RuntimePb.UPRequest) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeFutureStub
-
Given information an application and an HTTP request, execute the request and prepare a response for the user.
- handleRequest(RuntimePb.UPRequest, StreamObserver<RuntimePb.UPResponse>) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeImplBase
-
Given information an application and an HTTP request, execute the request and prepare a response for the user.
- handleRequest(RuntimePb.UPRequest, StreamObserver<RuntimePb.UPResponse>) - Method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc.EvaluationRuntimeStub
-
Given information an application and an HTTP request, execute the request and prepare a response for the user.
- 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 - Error in com.google.apphosting.runtime
-
HardDeadlineExceededErroris an error that is thrown when a user request has exceeded its hard limit. - HardDeadlineExceededError() - Constructor for error com.google.apphosting.runtime.HardDeadlineExceededError
- HardDeadlineExceededError(String) - Constructor for error com.google.apphosting.runtime.HardDeadlineExceededError
- hasBreakpointUpdates() - Static method in class com.google.apphosting.runtime.CloudDebuggerAgent
-
Verifies if there are breakpoint updates to send to the Cloud Debugger service.
- hasBreakpointUpdates() - Method in interface com.google.apphosting.runtime.CloudDebuggerAgentWrapper
- 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
- hasSoftDeadlinePassed() - Method in class com.google.apphosting.runtime.RequestState
- HttpApiHostClientFactory - Class in com.google.apphosting.runtime.http
-
Makes instances of
HttpApiHostClient. - 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
- ignoreDaemonThreads() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- init() - Method in class com.google.apphosting.runtime.jetty9.NamedDefaultServlet
- init() - Method in class com.google.apphosting.runtime.jetty94.NamedDefaultServlet
- init() - Method in class com.google.apphosting.runtime.jetty94.ResourceFileServlet
-
Initialize the servlet by extracting some useful configuration data from the current
ServletContext. - init(Logger) - Method in class com.google.apphosting.runtime.LogHandler
-
Initialize the
LogHandlerby 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.grpc.GrpcPlugin
- 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
- isAdmin() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- isFillInterested() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- isInputShutdown() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- isLoggedIn() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- isOpen() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- isOptimizedForDirectBuffers() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- isOptimizedForDirectBuffers() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- isOutputShutdown() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- isProtectedPath(String) - Method in class com.google.apphosting.runtime.jetty94.ResourceFileServlet
- isPushSupported() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- isResourceFile(String) - Method in class com.google.apphosting.runtime.AppVersion
-
Returns true if
pathis a resource file that was uploaded as part of this application. - isStaticFile(String) - Method in class com.google.apphosting.runtime.AppVersion
-
Returns true if
pathis 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. - JDK - com.google.apphosting.runtime.CloudDebuggerCallback.ClassType
- Jetty94Constants - Class in com.google.apphosting.runtime.jetty94
-
Class to serve static constants
- JettyConstants - Class in com.google.apphosting.runtime.jetty9
-
JettyConstantscentralizes some constants that are specific to our use of Jetty. - JettyConstants() - Constructor for class com.google.apphosting.runtime.jetty9.JettyConstants
- jettyHttpAddress() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Host and port used by the Jetty HTTP server.
- JettyHttpProxy - Class in com.google.apphosting.runtime.jetty94
-
A Jetty web server handling HTTP requests on a given port and forwarding them via gRPC to the Java8 App Engine runtime implementation.
- JettyHttpProxy.ForwardingHandler - Class in com.google.apphosting.runtime.jetty94
-
Handler to stub out the frontend server.
- JettyLogger - Class in com.google.apphosting.runtime.jetty9
-
JettyLoggeris a extension forJavaUtilLog - JettyLogger() - Constructor for class com.google.apphosting.runtime.jetty9.JettyLogger
- JettyLogger(String) - Constructor for class com.google.apphosting.runtime.jetty9.JettyLogger
- 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.
- JettyServerConnectorWithReusePort - Class in com.google.apphosting.runtime.jetty94
-
A wrapper for Jetty to add support for SO_REUSEPORT.
- JettyServerConnectorWithReusePort(Server, boolean) - Constructor for class com.google.apphosting.runtime.jetty94.JettyServerConnectorWithReusePort
- JettyServletEngineAdapter - Class in com.google.apphosting.runtime.jetty94
-
This is an implementation of ServletEngineAdapter that uses the third-party Jetty servlet engine.
- JettyServletEngineAdapter() - Constructor for class com.google.apphosting.runtime.jetty94.JettyServletEngineAdapter
- JettyServletEngineAdapter(Optional<WebAppContextFactory>, Optional<AppYaml>) - Constructor for class com.google.apphosting.runtime.jetty94.JettyServletEngineAdapter
- JmxGcTimerSet - Class in com.google.apphosting.runtime.timer
-
JmxGcTimerSetcreates 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
-
JmxHotspotTimerSetcreates 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
- log(ApiProxyImpl.EnvironmentImpl, ApiProxy.LogRecord) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- log(Exception, String) - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext.AppEngineServletContext
- log(String) - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext.AppEngineServletContext
- log(String, Throwable) - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext.AppEngineServletContext
- 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
-
LogHandleris 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.Builderbut that is thread-safe. - MutableUpResponse() - Constructor for class com.google.apphosting.runtime.MutableUpResponse
N
- NamedDefaultServlet - Class in com.google.apphosting.runtime.jetty9
-
Servlet to handled named dispatches to "default"
- NamedDefaultServlet - Class in com.google.apphosting.runtime.jetty94
-
Servlet to handled named dispatches to "default"
- NamedDefaultServlet() - Constructor for class com.google.apphosting.runtime.jetty9.NamedDefaultServlet
- NamedDefaultServlet() - Constructor for class com.google.apphosting.runtime.jetty94.NamedDefaultServlet
- NamedJspServlet - Class in com.google.apphosting.runtime.jetty94
-
Generate 500 error for any request mapped directly to "jsp" servlet.
- NamedJspServlet() - Constructor for class com.google.apphosting.runtime.jetty94.NamedJspServlet
- 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
- newBlockingStub(Channel) - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
-
Creates a new blocking-style stub that supports unary and streaming output calls on the service
- newBlockingStub(Channel) - Static method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc
-
Creates a new blocking-style stub that supports unary and streaming output calls on the service
- newClientContext() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContextFactory
- newConnection(Connector, EndPoint) - Method in class com.google.apphosting.runtime.jetty94.RpcConnectionFactory
- newFutureStub(Channel) - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
-
Creates a new ListenableFuture-style stub that supports unary calls on the service
- newFutureStub(Channel) - Static method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc
-
Creates a new ListenableFuture-style stub that supports unary calls on the service
- newLogger(String) - Method in class com.google.apphosting.runtime.jetty9.JettyLogger
-
Create a Child Logger of this Logger.
- newServer(ServletEngineAdapter.Config, JettyHttpProxy.ForwardingHandler) - Static method in class com.google.apphosting.runtime.jetty94.JettyHttpProxy
- newServletHandler() - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
- newStub(Channel) - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
-
Creates a new async stub that supports all call types for the service
- newStub(Channel) - Static method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc
-
Creates a new async stub that supports all call types for the service
- 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
-
NullSandboxLogHandleris installed on the root logger. - NullSandboxLogHandler() - Constructor for class com.google.apphosting.runtime.NullSandboxLogHandler
O
- of(GrpcClientContext, AnyRpcCallback<ResponseT>) - Static method in class com.google.apphosting.runtime.grpc.CallbackStreamObserver
-
Returns a
StreamObserverthat will convert gRPC responses into calls on the givenanyRpcCallback. - of(String, String) - Static method in class com.google.apphosting.base.AppVersionKey
- onClose() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- onClose() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- onCompleted() - Method in class com.google.apphosting.runtime.grpc.CallbackStreamObserver
- onCompleted() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- onError(Throwable) - Method in class com.google.apphosting.runtime.grpc.CallbackStreamObserver
- onIdleExpired() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- onNext(ResponseT) - Method in class com.google.apphosting.runtime.grpc.CallbackStreamObserver
- onOpen() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- onOpen() - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- openAcceptChannel() - Method in class com.google.apphosting.runtime.jetty94.JettyServerConnectorWithReusePort
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
- ParseBlobUploadHandler - Class in com.google.apphosting.runtime.jetty9
-
ParseBlobUploadHandleris responsible for the parsing multipart/form-data or multipart/mixed requests used to make Blob upload callbacks, and storing a set of string-encoded blob keys as a servlet request attribute. - ParseBlobUploadHandler() - Constructor for class com.google.apphosting.runtime.jetty9.ParseBlobUploadHandler
- 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
- 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
- push(MetaData.Request) - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
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.
- removeAppVersion(AppVersionKey) - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
- removeEventListener(EventListener) - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
- removeHandler(Handler) - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
-
Not supported.
- removeListener(Connection.Listener) - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- requestComplete(WebAppContext, Request) - Method in interface com.google.apphosting.runtime.jetty9.RequestListener
-
Called when a request exits the AppEngine context for the last time.
- requestComplete(WebAppContext, Request) - Method in class com.google.apphosting.runtime.jetty9.TransactionCleanupListener
- RequestListener - Interface in com.google.apphosting.runtime.jetty9
-
RequestListeneris called for new request and request completion events. - RequestManager - Class in com.google.apphosting.runtime
-
RequestManageris 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
-
DeadlineRunnablecauses the specifiedThrowableto be thrown within the specified thread. - RequestManager.RequestToken - Class in com.google.apphosting.runtime
-
RequestTokenacts as a Memento object that passes state between a call tostartRequestandfinishRequest. - requestReceived(WebAppContext, Request) - Method in interface com.google.apphosting.runtime.jetty9.RequestListener
-
Called when a new request is received and first dispatched to the AppEngine context.
- requestReceived(WebAppContext, Request) - Method in class com.google.apphosting.runtime.jetty9.TransactionCleanupListener
- 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.
- RequestState - Class in com.google.apphosting.runtime
- RequestState() - Constructor for class com.google.apphosting.runtime.RequestState
- 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." SeeThreadGroupPool.RestartableThreadfor more information. - ResourceFileServlet - Class in com.google.apphosting.runtime.jetty94
-
ResourceFileServletis a copy oforg.mortbay.jetty.servlet.DefaultServletthat has been trimmed down to only support the subset of features that we want to take advantage of (e.g. - ResourceFileServlet() - Constructor for class com.google.apphosting.runtime.jetty94.ResourceFileServlet
- RpcConnection - Class in com.google.apphosting.runtime.jetty94
-
A custom version of HttpConnection that uses UPRequestParser and UPResponseGenerator instead of the standard HTTP stream parser and generator.
- RpcConnection(RpcConnector, RpcEndPoint) - Constructor for class com.google.apphosting.runtime.jetty94.RpcConnection
- RpcConnectionFactory - Class in com.google.apphosting.runtime.jetty94
-
RPC Implementation for the Jetty ConnectionFactory interface, in charge of translating runtime protocol buffers to HTTP requests/responses.
- RpcConnectionFactory() - Constructor for class com.google.apphosting.runtime.jetty94.RpcConnectionFactory
- RpcConnector - Class in com.google.apphosting.runtime.jetty94
-
RpcConnectoris anAbstractConnectorthat essentially does nothing. - RpcConnector(Server) - Constructor for class com.google.apphosting.runtime.jetty94.RpcConnector
- RpcEndPoint - Class in com.google.apphosting.runtime.jetty9
-
Jetty Endpoint implementation for our RuntimePB protocol buffer.
- RpcEndPoint(RuntimePb.UPRequest, MutableUpResponse) - Constructor for class com.google.apphosting.runtime.jetty9.RpcEndPoint
- rpcPlugin() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- run() - Method in class com.google.apphosting.runtime.RequestManager.DeadlineRunnable
- run() - Method in class com.google.apphosting.runtime.RequestRunner
- running - Variable in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- RUNTIME - com.google.apphosting.runtime.CloudDebuggerCallback.ClassType
- RuntimeLogSink - Class in com.google.apphosting.runtime
-
RuntimeLogSinkattaches a rootHandlerthat records all log messagesLevel.INFOor higher as aRuntimePb.UPResponse.RuntimeLogLineattached 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
- SAFE_RUNTIME - com.google.apphosting.runtime.CloudDebuggerCallback.ClassType
- send(MetaData.Response, boolean, ByteBuffer, boolean, Callback) - Method in class com.google.apphosting.runtime.jetty94.RpcConnection
- sendData(ServletContext, HttpServletResponse, boolean, Resource, String) - Method in class com.google.apphosting.runtime.jetty94.FileSender
-
Writes or includes the specified resource.
- sendDeadline(ModelClonePb.DeadlineInfo) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerBlockingStub
-
Notifies the clone that the soft or hard deadline for an active request has expired.
- sendDeadline(ModelClonePb.DeadlineInfo) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerFutureStub
-
Notifies the clone that the soft or hard deadline for an active request has expired.
- sendDeadline(ModelClonePb.DeadlineInfo, StreamObserver<EmptyMessage>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerImplBase
-
Notifies the clone that the soft or hard deadline for an active request has expired.
- sendDeadline(ModelClonePb.DeadlineInfo, StreamObserver<EmptyMessage>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerStub
-
Notifies the clone that the soft or hard deadline for an active request has expired.
- 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.grpc.GrpcPlugin
- serverStarted() - Method in class com.google.apphosting.runtime.NullRpcPlugin
- SERVICE_NAME - Static variable in class com.google.apphosting.base.protos.CloneControllerGrpc
- SERVICE_NAME - Static variable in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc
- serviceRequest(AppVersionKey, RuntimePb.UPRequest, MutableUpResponse) - Method in class com.google.apphosting.runtime.jetty94.RpcConnector
- serviceRequest(RuntimePb.UPRequest, MutableUpResponse) - Method in class com.google.apphosting.runtime.jetty94.JettyServletEngineAdapter
- serviceRequest(RuntimePb.UPRequest, MutableUpResponse) - Method in interface com.google.apphosting.runtime.UPRequestHandler
-
Executes the HTTP request specified by
upRequestand 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
Configinstances. - set(Map<String, String>) - Static method in class com.google.apphosting.runtime.FileEncodingSetter
- setActiveBreakpoints(byte[][]) - Static method in class com.google.apphosting.runtime.CloudDebuggerAgent
-
Updates the list of active breakpoints in the debugger.
- setActiveBreakpoints(byte[][]) - Method in interface com.google.apphosting.runtime.CloudDebuggerAgentWrapper
- 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
- setApplication(String[], CloudDebuggerCallback) - Static method in class com.google.apphosting.runtime.CloudDebuggerAgent
-
Hooks up Cloud Debugger to the application.
- setApplication(String[], CloudDebuggerCallback) - Method in interface com.google.apphosting.runtime.CloudDebuggerAgentWrapper
- 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
- setCloudDebuggerAgent(CloudDebuggerAgentWrapper) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setCloudDebuggerAgent(CloudDebuggerAgentWrapper) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setCloudDebuggerEnabled(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- 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
- setConnection(Connection) - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- 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.
- setDeadline(double) - Method in class com.google.apphosting.runtime.grpc.GrpcClientContext
- 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
- setEnableCloudDebugger(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.AppVersionFactory.Builder
- setFixedApplicationPath(String) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setFixedApplicationPath(String) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setForceUrlfetchUrlStreamHandler(boolean) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
- setForceUrlfetchUrlStreamHandler(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setHandlers(Handler[]) - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
-
Not supported.
- 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
- setIdleTimeout(long) - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- 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
- 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.ApiProxyImpl
- setRequestManager(RequestManager) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setRequestManager(RequestManager) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- 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
- setServer(Server) - Method in class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
- 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 class com.google.apphosting.runtime.jetty94.AppVersionHandlerMap
-
Sets the
SessionStoreFactorythat will be used for generating the list ofSessionStoresthat will be passed toSessionManagerfor apps for which sessions are enabled. - setSessionStoreFactory(SessionStoreFactory) - Method in class com.google.apphosting.runtime.jetty94.JettyServletEngineAdapter
-
Sets the
SessionStoreFactorythat will be used to create the list ofSessionStoresto which the HTTP Session will be stored, if sessions are enabled. - setSessionStoreFactory(SessionStoreFactory) - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
Sets the
SessionStoreFactorythat will be used to create the list ofSessionStores to which the HTTP Session will be stored, if sessions are enabled. - 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
- setTempDirectory(File) - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
-
Set temporary directory for context.
- 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
- 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.grpc.GrpcPlugin
- shutdown() - Method in class com.google.apphosting.runtime.NullRpcPlugin
- shutdownOutput() - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- shutdownRequests(RequestManager.RequestToken) - Method in class com.google.apphosting.runtime.RequestManager
-
Notify requests that the server is shutting down.
- SizeLimitHandler - Class in com.google.apphosting.runtime.jetty94
-
A handler that can limit the size of message bodies in requests and responses.
- SizeLimitHandler(long, long) - Constructor for class com.google.apphosting.runtime.jetty94.SizeLimitHandler
- softDeadlineDelay() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- 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 class com.google.apphosting.runtime.jetty94.JettyServletEngineAdapter
- 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
runnablein 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
- startCancel() - Method in class com.google.apphosting.runtime.grpc.GrpcClientContext
- 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
-
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.grpc.GrpcPlugin
- startServer(EvaluationRuntimeServerInterface, CloneControllerServerInterface) - Method in class com.google.apphosting.runtime.NullRpcPlugin
- startServer(ServletEngineAdapter.Config) - Static method in class com.google.apphosting.runtime.jetty94.JettyHttpProxy
-
Based on the adapter configuration, this will start a new Jetty server in charge of proxying HTTP requests to the App Engine Java runtime.
- startTime - Variable in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- startWebapp() - Method in class com.google.apphosting.runtime.jetty94.AppEngineWebAppContext
- 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 class com.google.apphosting.runtime.jetty94.JettyServletEngineAdapter
- 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.grpc.GrpcPlugin
- stopServer() - Method in class com.google.apphosting.runtime.NullRpcPlugin
- StreamHandlerFactory - Class in com.google.apphosting.runtime
-
A
URLStreamHandlerFactorywhich installsURLStreamHandlersthat 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
T
- ThreadGroupPool - Class in com.google.apphosting.runtime
-
ThreadGroupPoolis 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
-
Timeris a base interface for various timer implementations provided in this package. - TimerFactory - Class in com.google.apphosting.runtime.timer
-
TimerFactorycreates newTimerinstances. - TimerFactory(long, TimerSet...) - Constructor for class com.google.apphosting.runtime.timer.TimerFactory
-
Create a
TimerFactory. - TimerSet - Interface in com.google.apphosting.runtime.timer
-
TimerSetis an abstraction for creating one or moreTimerinstances that are interdependent in some way. - toString() - Method in class com.google.apphosting.base.AppVersionKey
- toString() - Method in class com.google.apphosting.runtime.jetty9.JettyLogger
- 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
Runnableso as to assure propagation of the tracing context. - traceContextPropagating(Runnable) - Method in class com.google.apphosting.runtime.grpc.GrpcPlugin
- 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
- TransactionCleanupListener - Class in com.google.apphosting.runtime.jetty9
-
TransactionCleanupListenerlooks for datastore transactions that are still active when request processing is finished. - TransactionCleanupListener(ClassLoader) - Constructor for class com.google.apphosting.runtime.jetty9.TransactionCleanupListener
- translateRequest(HttpServletRequest) - Method in class com.google.apphosting.runtime.jetty94.UPRequestTranslator
-
Makes a UPRequest from an HttpServletRequest
- translateResponse(Response, RuntimePb.UPResponse) - Method in class com.google.apphosting.runtime.jetty94.UPRequestTranslator
-
Translate from a response proto to a javax.servlet response.
- tryFillInterested(Callback) - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
U
- UNKNOWN - com.google.apphosting.runtime.CloudDebuggerCallback.ClassType
- 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
- updateActiveBreakpoints(ClonePb.CloudDebuggerBreakpoints) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerBlockingStub
-
Updates a list of Cloud Debugger breakpoints on a clone.
- updateActiveBreakpoints(ClonePb.CloudDebuggerBreakpoints) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerFutureStub
-
Updates a list of Cloud Debugger breakpoints on a clone.
- updateActiveBreakpoints(ClonePb.CloudDebuggerBreakpoints, StreamObserver<ClonePb.CloudDebuggerBreakpoints>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerImplBase
-
Updates a list of Cloud Debugger breakpoints on a clone.
- updateActiveBreakpoints(ClonePb.CloudDebuggerBreakpoints, StreamObserver<ClonePb.CloudDebuggerBreakpoints>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerStub
-
Updates a list of Cloud Debugger breakpoints on a clone.
- updateActiveBreakpoints(AnyRpcServerContext, ClonePb.CloudDebuggerBreakpoints) - Method in interface com.google.apphosting.runtime.anyrpc.CloneControllerServerInterface
- updateActiveBreakpoints(AnyRpcServerContext, ClonePb.CloudDebuggerBreakpoints) - Method in class com.google.apphosting.runtime.CloneControllerImpl
- upgrade(Connection) - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
- UPRequestHandler - Interface in com.google.apphosting.runtime
-
Defines an interface for handling the Prometheus Untrusted Process API.
- UPRequestTranslator - Class in com.google.apphosting.runtime.jetty94
-
Translates HttpServletRequest to the UPRequest proto, and vice versa for the response.
- UPRequestTranslator(AppInfoFactory, boolean, boolean) - Constructor for class com.google.apphosting.runtime.jetty94.UPRequestTranslator
-
Construct an UPRequestTranslator.
- 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
V
- valueOf(String) - Static method in enum com.google.apphosting.runtime.CloudDebuggerCallback.ClassType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.google.apphosting.runtime.CloudDebuggerCallback.ClassType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VersionId - Class in com.google.apphosting.base
-
A parsed Version Id.
- VersionId() - Constructor for class com.google.apphosting.base.VersionId
W
- waitForDaemonRequestThreads() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- waitForSandbox(EmptyMessage) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerBlockingStub
-
Asks the Clone to put itself into the stopped state, by sending itself a SIGSTOP when it is safe to do so.
- waitForSandbox(EmptyMessage) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerFutureStub
-
Asks the Clone to put itself into the stopped state, by sending itself a SIGSTOP when it is safe to do so.
- waitForSandbox(EmptyMessage, StreamObserver<EmptyMessage>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerImplBase
-
Asks the Clone to put itself into the stopped state, by sending itself a SIGSTOP when it is safe to do so.
- waitForSandbox(EmptyMessage, StreamObserver<EmptyMessage>) - Method in class com.google.apphosting.base.protos.CloneControllerGrpc.CloneControllerStub
-
Asks the Clone to put itself into the stopped state, by sending itself a SIGSTOP when it is safe to do so.
- 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
requestIdto callBackgroundRequestCoordinator.waitForUserRunnable(java.lang.String, java.lang.Thread, long)and then exchangerunnablefor the specifiedThread. - waitForUserRunnable(String, Thread, long) - Method in class com.google.apphosting.runtime.BackgroundRequestCoordinator
-
Wait for the system API call with the specified
requestIdto callBackgroundRequestCoordinator.waitForThreadStart(java.lang.String, java.lang.Runnable, long)and then exchangethreadfor the specifiedRunnable. - waitingThreadCount() - Method in class com.google.apphosting.runtime.ThreadGroupPool
- warn(String, Throwable) - Method in class com.google.apphosting.runtime.jetty9.JettyLogger
- WEB_DEFAULTS_XML - Static variable in class com.google.apphosting.runtime.jetty94.AppVersionHandlerFactory
-
Any settings in this webdefault.xml file will be inherited by all applications.
- WebAppContextFactory - Interface in com.google.apphosting.runtime.jetty94
-
A base interface for factories that create
AppEngineWebAppContext. - write(Callback, ByteBuffer...) - Method in class com.google.apphosting.runtime.jetty9.RpcEndPoint
All Classes All Packages