Package com.google.apphosting.runtime
Class CloneControllerImpl
- java.lang.Object
-
- com.google.apphosting.runtime.CloneControllerImpl
-
- All Implemented Interfaces:
CloneControllerServerInterface
public class CloneControllerImpl extends Object implements CloneControllerServerInterface
CloneControllerImplimplements theCloneControllerServerInterfaceRPC interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCloneControllerImpl.CallbackCallback interface for rpc-specific and sandbox-specific functionality to be abstracted over in this class.
-
Constructor Summary
Constructors Constructor Description CloneControllerImpl(CloneControllerImpl.Callback callback, ApiDeadlineOracle deadlineOracle, RequestManager requestManager, ByteBuffer hotspotPerformanceData, CloudDebuggerAgentWrapper cloudDebuggerAgent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyCloneSettings(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ClonePb.CloneSettings settings)Applies the specifiedClonePb.CloneSettingsreceived from the AppServer.voidgetDebuggeeInfo(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ClonePb.DebuggeeInfoRequest request)voidgetPerformanceData(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ModelClonePb.PerformanceDataRequest req)voidsendDeadline(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ModelClonePb.DeadlineInfo deadline)voidupdateActiveBreakpoints(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ClonePb.CloudDebuggerBreakpoints request)voidwaitForSandbox(AnyRpcServerContext rpc, com.google.apphosting.base.protos.EmptyMessage unused)Obsolete operation.
-
-
-
Constructor Detail
-
CloneControllerImpl
public CloneControllerImpl(CloneControllerImpl.Callback callback, ApiDeadlineOracle deadlineOracle, RequestManager requestManager, ByteBuffer hotspotPerformanceData, CloudDebuggerAgentWrapper cloudDebuggerAgent)
-
-
Method Detail
-
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
-
updateActiveBreakpoints
public void updateActiveBreakpoints(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ClonePb.CloudDebuggerBreakpoints request)
- Specified by:
updateActiveBreakpointsin interfaceCloneControllerServerInterface
-
getDebuggeeInfo
public void getDebuggeeInfo(AnyRpcServerContext rpc, com.google.apphosting.base.protos.ClonePb.DebuggeeInfoRequest request)
- Specified by:
getDebuggeeInfoin interfaceCloneControllerServerInterface
-
-