Package com.google.apphosting.runtime
Class CloneControllerImpl
java.lang.Object
com.google.apphosting.runtime.CloneControllerImpl
- All Implemented Interfaces:
CloneControllerServerInterface
CloneControllerImpl implements the CloneControllerServerInterface RPC interface.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCallback interface for rpc-specific and sandbox-specific functionality to be abstracted over in this class. -
Constructor Summary
ConstructorsConstructorDescriptionCloneControllerImpl(CloneControllerImpl.Callback callback, ApiDeadlineOracle deadlineOracle, RequestManager requestManager, ByteBuffer hotspotPerformanceData) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyCloneSettings(AnyRpcServerContext rpc, ClonePb.CloneSettings settings) Applies the specifiedClonePb.CloneSettingsreceived from the AppServer.voidvoidsendDeadline(AnyRpcServerContext rpc, ModelClonePb.DeadlineInfo deadline) voidwaitForSandbox(AnyRpcServerContext rpc, EmptyMessage unused) Obsolete operation.
-
Constructor Details
-
CloneControllerImpl
public CloneControllerImpl(CloneControllerImpl.Callback callback, ApiDeadlineOracle deadlineOracle, RequestManager requestManager, ByteBuffer hotspotPerformanceData)
-
-
Method Details
-
waitForSandbox
Obsolete operation. This was used by an earlier sandboxing scheme, now obsolete.- Specified by:
waitForSandboxin interfaceCloneControllerServerInterface
-
applyCloneSettings
Applies the specifiedClonePb.CloneSettingsreceived from the AppServer. These settings cannot be known at clone start-up because they may vary by application.- Specified by:
applyCloneSettingsin interfaceCloneControllerServerInterface
-
sendDeadline
- Specified by:
sendDeadlinein interfaceCloneControllerServerInterface
-
getPerformanceData
- Specified by:
getPerformanceDatain interfaceCloneControllerServerInterface
-