Class ProfilerServiceGrpc (2.24.0)

public final class ProfilerServiceGrpc

Manage the collection of continuous profiling data provided by profiling agents running in the cloud or by an offline provider of profiling data. General guidelines:

  • Profiles for a single deployment must be created in ascending time order.
  • Profiles can be created in either online or offline mode, see below.

Inheritance

java.lang.Object > ProfilerServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(ProfilerServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ProfilerServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceProfilerServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateOfflineProfileMethod()

public static MethodDescriptor<CreateOfflineProfileRequest,Profile> getCreateOfflineProfileMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateOfflineProfileRequest,Profile>

getCreateProfileMethod()

public static MethodDescriptor<CreateProfileRequest,Profile> getCreateProfileMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateProfileRequest,Profile>

getServiceDescriptor()

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

getUpdateProfileMethod()

public static MethodDescriptor<UpdateProfileRequest,Profile> getUpdateProfileMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateProfileRequest,Profile>

newBlockingStub(Channel channel)

public static ProfilerServiceGrpc.ProfilerServiceBlockingStub 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
ProfilerServiceGrpc.ProfilerServiceBlockingStub

newFutureStub(Channel channel)

public static ProfilerServiceGrpc.ProfilerServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ProfilerServiceGrpc.ProfilerServiceFutureStub

newStub(Channel channel)

public static ProfilerServiceGrpc.ProfilerServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ProfilerServiceGrpc.ProfilerServiceStub