Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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
- addAppLog(AppLogsPb.AppLogLine.Builder) - Method in class com.google.apphosting.runtime.MutableUpResponse
- addAppLogMessage(ApiProxy.LogRecord.Level, String) - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- addAppVersion(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 interface com.google.apphosting.runtime.ServletEngineAdapter
-
Register the specified application version for future calls to
serviceRequest. - addHandlerToRootLogger() - Method in class com.google.apphosting.runtime.RuntimeLogSink
- addHttpOutputHeaders(HttpPb.ParsedHttpHeader.Builder) - Method in class com.google.apphosting.runtime.MutableUpResponse
- addHttpResponseHeader(HttpPb.ParsedHttpHeader.Builder) - Method in class com.google.apphosting.runtime.MutableUpResponse
- addLogRecord(ApiProxy.LogRecord) - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- addLogRecordAndMaybeFlush(ApiProxy.LogRecord) - Method in class com.google.apphosting.runtime.AppLogsWriter
-
Add the specified LogRecord for the current request.
- addOfflinePackageDefaultDeadline(String, double) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addOfflinePackageMaxDeadline(String, double) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addOfflinePackageMaxRequestSize(String, long) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addOfflinePackageMinContentSizeForBuffer(String, long) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addPackageDefaultDeadline(String, double) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addPackageMaxDeadline(String, double) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addPackageMaxRequestSize(String, long) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addPackageMinContentSizeForBuffer(String, long) - Method in class com.google.apphosting.runtime.ApiDeadlineOracle
- addStackTrace(CloudTraceContext, StackTraceElement[]) - Method in class com.google.apphosting.runtime.TraceWriter
-
Add stack trace into the current span.
- AnyRpcCallback<T 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.CurrentRequestThread - Class in com.google.apphosting.runtime
-
A thread created by {@code ThreadManager.currentRequestThreadFactory().
- ApiProxyImpl.EnvironmentImpl - Class in com.google.apphosting.runtime
-
To implement ApiProxy.Environment, we use a class that wraps around an UPRequest and retrieves the necessary information from it.
- ApiProxyUtils - Class in com.google.apphosting.utils.runtime
-
ApiProxyUtilsis a utility class with functions shared by ApiProxy delegates, e.g. - APP_VERSION_CONTEXT_ATTR - Static variable in class com.google.apphosting.runtime.JettyConstants
-
This
ServletContextattribute contains theAppVersionfor the current application. - APP_VERSION_KEY_REQUEST_ATTR - Static variable in class com.google.apphosting.runtime.JettyConstants
-
This
ServletRequestattribute contains theAppVersionKeyidentifying the current application. - APP_YAML_ATTRIBUTE_TARGET - Static variable in class com.google.apphosting.runtime.JettyConstants
- AppId - Class in com.google.apphosting.base
-
Class used for parsing the various components of the AppId.
- applicationRoot() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Base root area for a given application.
- AppLogsWriter - Class in com.google.apphosting.runtime
-
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.
- 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
- 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. - 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) - 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.JsonLogHandler
- close() - Method in class com.google.apphosting.runtime.LogHandler
- close() - Method in class com.google.apphosting.runtime.NullSandboxLogHandler
- CLOUD_SQL_JDBC_CONNECTIVITY_ENABLED_KEY - Static variable in class com.google.apphosting.runtime.ApiProxyImpl
- cloudSqlJdbcConnectivityEnabled() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- com.google.apphosting.base - package com.google.apphosting.base
- com.google.apphosting.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.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
- 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
- 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. - 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. - 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 interface com.google.apphosting.runtime.ServletEngineAdapter
-
Remove the specified application version and free up any resources associated with it.
- disable() - Method in interface com.google.apphosting.runtime.anyrpc.APIHostClientInterface
-
Closes any outgoing connections using this client and prevents new ones from being created.
- disable() - Method in class com.google.apphosting.runtime.ApiProxyImpl
- disableApiCallLogging() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- disableDeadlineTimers() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- divertNetworkServices() - Method in interface com.google.apphosting.runtime.CloneControllerImpl.Callback
-
Start re-routing the socket API in the JRE through the GAE socket API.
E
- enable() - Method in interface com.google.apphosting.runtime.anyrpc.APIHostClientInterface
-
Allows new connections to be created from this client.
- enable() - Method in class com.google.apphosting.runtime.ApiProxyImpl
- enableHotspotPerformanceMetrics() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- endApiSpan(CloudTraceContext) - Method in class com.google.apphosting.runtime.TraceWriter
-
End the API span.
- endRequestSpan() - Method in class com.google.apphosting.runtime.TraceWriter
-
End the request span.
- endSpan(CloudTraceContext) - Method in class com.google.apphosting.runtime.TraceWriter
-
End the current span.
- 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
- externalDatacenterName() - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
F
- failure() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcCallback
- FileEncodingSetter - Class in com.google.apphosting.runtime
-
Set the default character encoding.
- finishRequest(RequestManager.RequestToken) - Method in class com.google.apphosting.runtime.RequestManager
-
Tear down any state associated with the specified request, and restore the current thread's state as it was before
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
- 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.
- 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
- 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
- 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. - getCloneIsInUncleanState() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getConverter(Class<?>) - Method in class com.google.apphosting.runtime.ParameterFactory
- getCpuCycleTimer(Thread) - Method in class com.google.apphosting.runtime.timer.TimerFactory
-
Return a
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. - 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
- 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
- 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. - 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.
- getHandleRequestMethod() - Static method in class com.google.apphosting.base.protos.EvaluationRuntimeGrpc
- 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
- getKey() - Method in class com.google.apphosting.runtime.AppVersion
-
Returns the
AppVersionKeythat can be used as an identifier for thisAppVersion. - getLongAppId() - Method in class com.google.apphosting.base.AppId
- getMajorVersion() - Method in class com.google.apphosting.base.VersionId
-
Returns the majorVersion.
- getMinorVersion() - Method in class com.google.apphosting.base.VersionId
-
Returns the minorVersion or
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
- getPendingCloudDebuggerAction() - Method in class com.google.apphosting.runtime.MutableUpResponse
- 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
- getPublicRoot() - Method in class com.google.apphosting.runtime.AppVersion
-
Returns the parent directory for all static and resource files.
- getRatio() - Method in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
-
The fraction of the change in the underlying counter which will be attributed to this timer.
- getRemainingMillis() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- getRequestId() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getRequestNamespace() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
-
Deprecated.
- getRequestThreads(AppVersionKey) - Method in class com.google.apphosting.runtime.RequestManager
- getRequestThreads(AppVersionKey) - Method in interface com.google.apphosting.runtime.RequestThreadManager
- getRequestThreads(ApiProxyImpl.EnvironmentImpl) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- getRootDirectory() - Method in class com.google.apphosting.runtime.AppVersion
-
Returns the top-level directory under which all application version resource files are made available.
- getRpcError(String, String, Status.StatusProto, int, String, Throwable) - Static method in class com.google.apphosting.utils.runtime.ApiProxyUtils
-
Provides a throwable exception for HTTP API RPC user-application errors.
- getRuntimeLogLine(int) - Method in class com.google.apphosting.runtime.MutableUpResponse
- getRuntimeLogLineCount() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getSecurityTicket() - Method in class com.google.apphosting.runtime.RequestManager.RequestToken
- getSendDeadlineMethod() - Static method in class com.google.apphosting.base.protos.CloneControllerGrpc
- getSerializedTrace() - Method in class com.google.apphosting.runtime.MutableUpResponse
- 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
- 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
- getTerminateClone() - Method in class com.google.apphosting.runtime.MutableUpResponse
- getThreadGroupCpuTimer(ThreadGroup) - Method in class com.google.apphosting.runtime.timer.TimerFactory
- getThreadGroupPool() - Method in class com.google.apphosting.runtime.AppVersion
- getTimeRemaining() - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcServerContext
-
Returns the remaining time for this call.
- 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
- 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
- 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
- hasCloneIsInUncleanState() - Method in class com.google.apphosting.runtime.MutableUpResponse
- hasHardDeadlinePassed() - Method in class com.google.apphosting.runtime.RequestState
- hasHttpResponse() - Method in class com.google.apphosting.runtime.MutableUpResponse
- hasHttpResponseResponse() - Method in class com.google.apphosting.runtime.MutableUpResponse
- hasPendingCloudDebuggerAction() - Method in class com.google.apphosting.runtime.MutableUpResponse
- hasSerializedTrace() - Method in class com.google.apphosting.runtime.MutableUpResponse
- hasSoftDeadlinePassed() - Method in class com.google.apphosting.runtime.RequestState
- 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(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
- isLoggedIn() - Method in class com.google.apphosting.runtime.ApiProxyImpl.EnvironmentImpl
- 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. - JettyConstants - Class in com.google.apphosting.runtime
-
JettyConstantscentralizes some constants that are specific to our use of Jetty. - jettyHttpAddress() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Host and port used by the Jetty HTTP server.
- jettyRequestHeaderSize() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Jetty server's max size for HTTP request headers.
- jettyResponseHeaderSize() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Jetty server's max size for HTTP response headers.
- jettyReusePort() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Whether to set SO_REUSEPORT on the Jetty HTTP port.
- JmxGcTimerSet - Class in com.google.apphosting.runtime.timer
-
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
- 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
- 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
- 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
- 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
- onCompleted() - Method in class com.google.apphosting.runtime.grpc.CallbackStreamObserver
- onError(Throwable) - Method in class com.google.apphosting.runtime.grpc.CallbackStreamObserver
- onNext(ResponseT) - Method in class com.google.apphosting.runtime.grpc.CallbackStreamObserver
P
- ParameterFactory - Class in com.google.apphosting.runtime
-
IStringConverterFactory that supplies custom converters.
- ParameterFactory() - Constructor for class com.google.apphosting.runtime.ParameterFactory
- ParameterFactory.BooleanConverter - Class in com.google.apphosting.runtime
-
IStringConverter that converts from string to Boolean.
- parse(String) - Static method in class com.google.apphosting.base.AppId
-
Returns a new AppId object based on an appId formatted as follows: [(partition)~][(domain):](display-app-id)
- parse(String) - Static method in class com.google.apphosting.base.VersionId
- parseTraceContextHeader(String) - Static method in class com.google.apphosting.runtime.TraceContextHelper
-
Create TraceContext from header, based on C++ source.
- passThroughPrivateHeaders() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Whether to pass through all headers to the web app, including X-AppEngine-*.
- pollForNetwork() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- publish(LogRecord) - Method in class com.google.apphosting.runtime.JsonLogHandler
- publish(LogRecord) - Method in class com.google.apphosting.runtime.LogHandler
- publish(LogRecord) - Method in class com.google.apphosting.runtime.NullSandboxLogHandler
R
- readAppEngineWebXml(AppinfoPb.AppInfo) - Method in class com.google.apphosting.runtime.AppVersionFactory
- recordRequestThread(Thread) - Method in class com.google.apphosting.runtime.RequestState
-
Records the given thread as belonging to this request.
- redirectStdoutStderr() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- remoteApiErrorToApiResponseError(RemoteApiPb.Response) - Static method in class com.google.apphosting.utils.runtime.ApiProxyUtils
-
Converts a RemoteApiPb RPC error code into an APIResponse error code.
- 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. - 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
- RequestThreadManager - Interface in com.google.apphosting.runtime
-
Thread manager interface for specifically getting request threads
- requestThreads() - Method in class com.google.apphosting.runtime.RequestState
-
Returns a snapshot of the threads that belong to this request and that should terminate when the request terminates.
- resetCurrentThread() - Static method in class com.google.apphosting.runtime.ThreadGroupPool
-
If the current thread is main thread started in response to a call to
ThreadGroupPool.start(java.lang.String, java.lang.Runnable), this method will arrange for it to expect to be "restarted." SeeThreadGroupPool.RestartableThreadfor more information. - rpcPlugin() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- run() - Method in class com.google.apphosting.runtime.ApiProxyImpl.CurrentRequestThread
- run() - Method in class com.google.apphosting.runtime.RequestManager.DeadlineRunnable
- run() - Method in class com.google.apphosting.runtime.RequestRunner
- running - Variable in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- 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
- 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(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
- setAllowNewRequestThreadCreation(boolean) - Method in class com.google.apphosting.runtime.RequestState
- setApiHost(APIHostClientInterface) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setApiProxyImpl(ApiProxyImpl) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setAppInfo(AppinfoPb.AppInfo) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setApplicationRoot(String) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setAppVersion(AppVersion) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setAppVersionKey(AppVersionKey) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setByteCountBeforeFlushing(long) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setClassLoader(ClassLoader) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setClearLogHandlers(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setCloneIsInUncleanState(boolean) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setCloudSqlJdbcConnectivityEnabled(boolean) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setCompressResponse(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setCompressResponse(boolean) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setConfiguration(ApplicationEnvironment.RuntimeConfiguration) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setCoordinator(BackgroundRequestCoordinator) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setCoordinator(BackgroundRequestCoordinator) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setCoordinator(BackgroundRequestCoordinator) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setCyclesPerSecond(long) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setDeadline(double) - Method in interface com.google.apphosting.runtime.anyrpc.AnyRpcClientContext
-
Set the deadline that will be applied to the RPC call made using this context.
- 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
- 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
- setHardDeadlineDelay(long) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setHardDeadlinePassed(boolean) - Method in class com.google.apphosting.runtime.RequestState
- setHttpResponseCode(int) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setHttpResponseCodeAndResponse(int, String) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setHttpResponseResponse(ByteString) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setIgnoreDaemonThreads(boolean) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
- setIgnoreDaemonThreads(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setIgnoreDaemonThreads(boolean) - Method in class com.google.apphosting.runtime.ThreadGroupPool.Builder
- setInterruptFirstOnSoftDeadline(boolean) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setJettyHttpAddress(HostAndPort) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setJettyRequestHeaderSize(int) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setJettyResponseHeaderSize(int) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setJettyReusePort(boolean) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setJsonLogDir(Path) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setLabel(CloudTraceContext, String, String) - Method in class com.google.apphosting.runtime.TraceWriter
-
Set a label on the current span.
- setLogJsonToFile(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setLogToLogservice(boolean) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setMaxLogFlushTime(Duration) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setMaxLogLineSize(int) - Method in class com.google.apphosting.runtime.ApiProxyImpl.Builder
- setMaxOutstandingApiRpcs(int) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setMaxOutstandingApiRpcs(int) - Method in class com.google.apphosting.runtime.RequestManager
- setParentThreadGroup(ThreadGroup) - Method in class com.google.apphosting.runtime.ThreadGroupPool.Builder
- setPassThroughPrivateHeaders(boolean) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setPendingCloudDebuggerActionBreakpointUpdates(boolean) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setPendingCloudDebuggerActionDebuggeeRegistration(boolean) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setPollForNetwork(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setPublicRoot(String) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setRedirectStdoutStderr(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setRequestManager(RequestManager) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setRequestManager(RequestManager) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setRequestManager(RequestThreadManager) - Method in class com.google.apphosting.runtime.ApiProxyImpl
- setRootDirectory(File) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setRpc(AnyRpcServerContext) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setRpcPlugin(AnyRpcPlugin) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setRuntimeLogSink(Optional<RuntimeLogSink>) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setRuntimeVersion(String) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
-
The runtime version which is reported to users.
- setRuntimeVersion(String) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setSandboxPlugin(NullSandboxPlugin) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
-
The root directory where all application versions are persisted.
- setSandboxPlugin(NullSandboxPlugin) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setServletEngine(ServletEngineAdapter) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setSessionsConfig(SessionsConfig) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setSessionStoreFactory(SessionStoreFactory) - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
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
- setTerminateClone(boolean) - Method in class com.google.apphosting.runtime.MutableUpResponse
- setThreadGroupNamePrefix(String) - Method in class com.google.apphosting.runtime.ThreadGroupPool.Builder
- setThreadGroupPool(ThreadGroupPool) - Method in class com.google.apphosting.runtime.AppVersion.Builder
- setThreadStopTerminatesClone(boolean) - Method in class com.google.apphosting.runtime.RequestManager.Builder
- setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Method in class com.google.apphosting.runtime.ThreadGroupPool.Builder
- setUpRequest(RuntimePb.UPRequest) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setUpRequestHandler(UPRequestHandler) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setUpResponse(MutableUpResponse) - Method in class com.google.apphosting.runtime.RequestRunner.Builder
- setUseEnvVarsFromAppInfo(boolean) - Method in class com.google.apphosting.runtime.AppVersionFactory.Builder
- setUseEnvVarsFromAppInfo(boolean) - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- setUseJettyHttpProxy(boolean) - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config.Builder
- setUserMcycles(long) - Method in class com.google.apphosting.runtime.MutableUpResponse
- 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
- shutdownRequests(RequestManager.RequestToken) - Method in class com.google.apphosting.runtime.RequestManager
-
Notify requests that the server is shutting down.
- softDeadlineDelay() - Method in class com.google.apphosting.runtime.RequestManager.Builder
- start() - Method in class com.google.apphosting.runtime.ApiProxyImpl.CurrentRequestThread
- start() - Method in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- start() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Start both timers.
- start() - Method in interface com.google.apphosting.runtime.timer.Timer
-
Start the timer running.
- start(ServletEngineAdapter.Config) - Method in class com.google.apphosting.runtime.JavaRuntime
-
Starts the Stubby service, and then perform any initialization that the servlet engine requires.
- start(String, ServletEngineAdapter.Config) - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
Performs whatever setup is necessary for this servlet container.
- start(String, Runnable) - Method in class com.google.apphosting.runtime.ThreadGroupPool
-
Execute
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
- startTime - Variable in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- statusException(Status.StatusProto, String, String, Throwable) - Static method in class com.google.apphosting.utils.runtime.ApiProxyUtils
-
Provides errors based on the status of the HTTP response.
- stop() - Method in class com.google.apphosting.runtime.JavaRuntime
-
Perform a graceful shutdown of our RPC service, and then shut down our servlet engine.
- stop() - Method in interface com.google.apphosting.runtime.ServletEngineAdapter
-
Perform any shutdown procedures necessary for this servlet container.
- stop() - Method in class com.google.apphosting.runtime.timer.AbstractIntervalTimer
- stop() - Method in class com.google.apphosting.runtime.timer.CpuRatioTimer
-
Stop both timers.
- stop() - Method in interface com.google.apphosting.runtime.timer.Timer
-
Stop the timer.
- stopServer() - Method in class com.google.apphosting.runtime.anyrpc.AnyRpcPlugin
-
Stops the server.
- stopServer() - Method in class com.google.apphosting.runtime.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.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
U
- 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
- UPRequestHandler - Interface in com.google.apphosting.runtime
-
Defines an interface for handling the Prometheus Untrusted Process API.
- useEnvVarsFromAppInfo() - Method in class com.google.apphosting.runtime.JavaRuntime.Builder
- useJettyHttpProxy() - Method in class com.google.apphosting.runtime.ServletEngineAdapter.Config
-
Boolean to turn on the Jetty HTTP server.
- useNativeUrlStreamHandler(String) - Static method in class com.google.apphosting.runtime.NetworkServiceDiverter
- userRunnable() - Method in class com.google.apphosting.runtime.ApiProxyImpl.CurrentRequestThread
-
Returns the original Runnable that was supplied to the thread factory, before any wrapping we may have done.
V
- VersionId - Class in com.google.apphosting.base
-
A parsed Version Id.
- VersionId() - Constructor for class com.google.apphosting.base.VersionId
W
- 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
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form