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, com.google.apphosting.base.protos.ClonePb.CloneSettings settings) Applies the specifiedClonePb.CloneSettingsreceived from the AppServer.voidgetPerformanceData(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ModelClonePb.PerformanceDataRequest req) voidsendDeadline(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ModelClonePb.DeadlineInfo deadline) voidwaitForSandbox(AnyRpcServerContext rpc, com.google.apphosting.base.protos.EmptyMessage unused) Obsolete operation.
-
Constructor Details
-
CloneControllerImpl
public CloneControllerImpl(CloneControllerImpl.Callback callback, ApiDeadlineOracle deadlineOracle, RequestManager requestManager, ByteBuffer hotspotPerformanceData)
-
-
Method Details
-
waitForSandbox
public void waitForSandbox(AnyRpcServerContext rpc, com.google.apphosting.base.protos.EmptyMessage unused) Obsolete operation. This was used by an earlier sandboxing scheme, now obsolete.- Specified by:
waitForSandboxin interfaceCloneControllerServerInterface
-
applyCloneSettings
public void applyCloneSettings(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ClonePb.CloneSettings settings) 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
public void sendDeadline(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ModelClonePb.DeadlineInfo deadline) - Specified by:
sendDeadlinein interfaceCloneControllerServerInterface
-
getPerformanceData
public void getPerformanceData(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ModelClonePb.PerformanceDataRequest req) - Specified by:
getPerformanceDatain interfaceCloneControllerServerInterface
-