Class InstanceServiceGrpc (0.2.0)

public final class InstanceServiceGrpc

InstanceService provides the entry interface for the Chronicle API.

Inheritance

java.lang.Object > InstanceServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(InstanceServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(InstanceServiceGrpc.AsyncService service)
Parameter
Name Description
service InstanceServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getGetInstanceMethod()

public static MethodDescriptor<GetInstanceRequest,Instance> getGetInstanceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetInstanceRequest,Instance>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static InstanceServiceGrpc.InstanceServiceBlockingStub 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
Returns
Type Description
InstanceServiceGrpc.InstanceServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static InstanceServiceGrpc.InstanceServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
InstanceServiceGrpc.InstanceServiceBlockingV2Stub

newFutureStub(Channel channel)

public static InstanceServiceGrpc.InstanceServiceFutureStub newFutureStub(Channel channel)

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

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
InstanceServiceGrpc.InstanceServiceFutureStub

newStub(Channel channel)

public static InstanceServiceGrpc.InstanceServiceStub newStub(Channel channel)

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

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
InstanceServiceGrpc.InstanceServiceStub