Class Controller2Grpc (1.60.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.
Static Fields
public static final String SERVICE_NAME
Field Value |
Type |
Description |
String |
|
Static Methods
public static final ServerServiceDefinition bindService(Controller2Grpc.AsyncService service)
Returns |
Type |
Description |
io.grpc.ServerServiceDefinition |
|
public static MethodDescriptor<ListActiveBreakpointsRequest,ListActiveBreakpointsResponse> getListActiveBreakpointsMethod()
public static MethodDescriptor<RegisterDebuggeeRequest,RegisterDebuggeeResponse> getRegisterDebuggeeMethod()
public static ServiceDescriptor getServiceDescriptor()
Returns |
Type |
Description |
io.grpc.ServiceDescriptor |
|
public static MethodDescriptor<UpdateActiveBreakpointRequest,UpdateActiveBreakpointResponse> getUpdateActiveBreakpointMethod()
public static Controller2Grpc.Controller2BlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
public static Controller2Grpc.Controller2FutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
public static Controller2Grpc.Controller2Stub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
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-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]