Class Controller2Grpc (1.57.0)

publicfinalclass 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

publicstaticfinalStringSERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(Controller2Grpc.AsyncService service)

publicstaticfinalServerServiceDefinitionbindService(Controller2Grpc.AsyncServiceservice)
Parameter
Name Description
service Controller2Grpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getListActiveBreakpointsMethod()

publicstaticMethodDescriptor<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse>getListActiveBreakpointsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse>

getRegisterDebuggeeMethod()

publicstaticMethodDescriptor<RegisterDebuggeeRequest,RegisterDebuggeeResponse>getRegisterDebuggeeMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RegisterDebuggeeRequest,RegisterDebuggeeResponse>

getServiceDescriptor()

publicstaticServiceDescriptorgetServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateActiveBreakpointMethod()

publicstaticMethodDescriptor<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse>getUpdateActiveBreakpointMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse>

newBlockingStub(Channel channel)

publicstaticController2Grpc.Controller2BlockingStubnewBlockingStub(Channelchannel)

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

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
Controller2Grpc.Controller2BlockingStub

newFutureStub(Channel channel)

publicstaticController2Grpc.Controller2FutureStubnewFutureStub(Channelchannel)

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

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
Controller2Grpc.Controller2FutureStub

newStub(Channel channel)

publicstaticController2Grpc.Controller2StubnewStub(Channelchannel)

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

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
Controller2Grpc.Controller2Stub

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.