@Generated(value="by gRPC proto compiler (version 1.53.0)",
comments="Source: cachepubsub.proto")
public final class PubsubGrpc
extends java.lang.Object
For working with topics in a cache. Momento topics are conceptually located on a cache. They are best-effort multicast. To use them, create a cache then start subscribing and publishing! Momento topic subscriptions try to give you information about the quality of the stream you are receiving. For example, you might miss messages if your network is slow, or if some intermediate switch fails, or due to rate limiting. It is also possible, though we try to avoid it, that messages could briefly come out of order between subscribers. We try to tell you when things like this happen via a Discontinuity in your subscription stream. If you do not care about occasional discontinuities then don't bother handling them! You might still want to log them just in case ;-)
| Modifier and Type | Class and Description |
|---|---|
static class |
PubsubGrpc.PubsubBlockingStub
For working with topics in a cache.
|
static class |
PubsubGrpc.PubsubFutureStub
For working with topics in a cache.
|
static class |
PubsubGrpc.PubsubImplBase
For working with topics in a cache.
|
static class |
PubsubGrpc.PubsubStub
For working with topics in a cache.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static io.grpc.MethodDescriptor<_PublishRequest,_Empty> |
getPublishMethod() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static io.grpc.MethodDescriptor<_SubscriptionRequest,_SubscriptionItem> |
getSubscribeMethod() |
static PubsubGrpc.PubsubBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static PubsubGrpc.PubsubFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static PubsubGrpc.PubsubStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final java.lang.String SERVICE_NAME
public static io.grpc.MethodDescriptor<_PublishRequest,_Empty> getPublishMethod()
public static io.grpc.MethodDescriptor<_SubscriptionRequest,_SubscriptionItem> getSubscribeMethod()
public static PubsubGrpc.PubsubStub newStub(io.grpc.Channel channel)
public static PubsubGrpc.PubsubBlockingStub newBlockingStub(io.grpc.Channel channel)
public static PubsubGrpc.PubsubFutureStub newFutureStub(io.grpc.Channel channel)
public static io.grpc.ServiceDescriptor getServiceDescriptor()