Class Controller2Grpc (1.5.0)

public final class Controller2Grpc

The Controller service provides the API for orchestrating a collection of debugger agents to perform debugging tasks. These agents are each attached to a process of an application which may include one or more replicas. The debugger agents register with the Controller to identify the application being debugged, the Debuggee. All agents that register with the same data, represent the same Debuggee, and are assigned the same debuggee_id. The debugger agents call the Controller to retrieve the list of active Breakpoints. Agents with the same debuggee_id get the same breakpoints list. An agent that can fulfill the breakpoint request updates the Controller with the breakpoint result. The controller selects the first result received and discards the rest of the results. Agents that poll again for active breakpoints will no longer have the completed breakpoint in the list and should remove that breakpoint from their attached process. The Controller service does not provide a way to retrieve the results of a completed breakpoint. This functionality is available using the Debugger service.

Inheritance

java.lang.Object > Controller2Grpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getListActiveBreakpointsMethod()

public static MethodDescriptor<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse> getListActiveBreakpointsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse>

getRegisterDebuggeeMethod()

public static MethodDescriptor<RegisterDebuggeeRequest,RegisterDebuggeeResponse> getRegisterDebuggeeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<RegisterDebuggeeRequest,RegisterDebuggeeResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateActiveBreakpointMethod()

public static MethodDescriptor<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse> getUpdateActiveBreakpointMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse>

newBlockingStub(Channel channel)

public static Controller2Grpc.Controller2BlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
Controller2Grpc.Controller2BlockingStub

newFutureStub(Channel channel)

public static Controller2Grpc.Controller2FutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
Controller2Grpc.Controller2FutureStub

newStub(Channel channel)

public static Controller2Grpc.Controller2Stub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
Controller2Grpc.Controller2Stub