| Package | Description |
|---|---|
| com.google.apphosting.runtime | |
| com.google.apphosting.runtime.timer |
| Modifier and Type | Method and Description |
|---|---|
ApiProxyImpl.EnvironmentImpl |
ApiProxyImpl.createEnvironment(AppVersion appVersion,
com.google.apphosting.base.protos.RuntimePb.UPRequest upRequest,
MutableUpResponse upResponse,
TraceWriter traceWriter,
CpuRatioTimer requestTimer,
String requestId,
List<Future<?>> asyncFutures,
Semaphore outstandingApiRpcSemaphore,
ThreadGroup requestThreadGroup,
RequestState requestState,
Long millisUntilSoftDeadline)
Creates an
ApiProxy.Environment instance that is suitable for use with this class. |
| Modifier and Type | Method and Description |
|---|---|
CpuRatioTimer |
TimerFactory.getCpuRatioTimer(Thread thread)
Returns a
CpuRatioTimer that tracks both the CPU usage of
the specified Thread and the wallclock time. |
CpuRatioTimer |
TimerFactory.getCpuRatioTimer(ThreadGroup threadGroup)
Returns a
CpuRatioTimer that tracks both the CPU usage of
the specified ThreadGroup and the wallclock time. |
Copyright © 2022. All rights reserved.