Class DcbEventSchedulerGrpc.DcbEventSchedulerFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<DcbEventSchedulerGrpc.DcbEventSchedulerFutureStub>
-
- io.axoniq.axonserver.grpc.event.dcb.DcbEventSchedulerGrpc.DcbEventSchedulerFutureStub
-
- Enclosing class:
- DcbEventSchedulerGrpc
public static final class DcbEventSchedulerGrpc.DcbEventSchedulerFutureStub extends io.grpc.stub.AbstractFutureStub<DcbEventSchedulerGrpc.DcbEventSchedulerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service DcbEventScheduler.Service to use AxonServer as a provider of an EventScheduler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DcbEventSchedulerGrpc.DcbEventSchedulerFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<InstructionAck>cancelScheduledEvent(CancelScheduledEventRequest request)Cancel the publication of a scheduled event.com.google.common.util.concurrent.ListenableFuture<ScheduleToken>rescheduleEvent(RescheduleEventRequest request)Reschedule a scheduled event and optionally replace it by a new event.com.google.common.util.concurrent.ListenableFuture<ScheduleToken>scheduleEvent(ScheduleEventRequest request)Schedule the given event for publication at the given time}.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected DcbEventSchedulerGrpc.DcbEventSchedulerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<DcbEventSchedulerGrpc.DcbEventSchedulerFutureStub>
-
scheduleEvent
public com.google.common.util.concurrent.ListenableFuture<ScheduleToken> scheduleEvent(ScheduleEventRequest request)
Schedule the given event for publication at the given time}. The returned ScheduleToken can be used to reschedule or cancel the planned publication.
-
rescheduleEvent
public com.google.common.util.concurrent.ListenableFuture<ScheduleToken> rescheduleEvent(RescheduleEventRequest request)
Reschedule a scheduled event and optionally replace it by a new event.
-
cancelScheduledEvent
public com.google.common.util.concurrent.ListenableFuture<InstructionAck> cancelScheduledEvent(CancelScheduledEventRequest request)
Cancel the publication of a scheduled event. If the events has already been published, this method does nothing.
-
-