Package io.axoniq.axonserver.grpc.event
Class EventSchedulerGrpc.EventSchedulerFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<EventSchedulerGrpc.EventSchedulerFutureStub>
-
- io.axoniq.axonserver.grpc.event.EventSchedulerGrpc.EventSchedulerFutureStub
-
- Enclosing class:
- EventSchedulerGrpc
public static final class EventSchedulerGrpc.EventSchedulerFutureStub extends io.grpc.stub.AbstractFutureStub<EventSchedulerGrpc.EventSchedulerFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service EventScheduler.Service to use AxonServer as a provider of an EventScheduler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EventSchedulerGrpc.EventSchedulerFutureStubbuild(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)Cancel a scheduled event and schedule another in its place.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 EventSchedulerGrpc.EventSchedulerFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<EventSchedulerGrpc.EventSchedulerFutureStub>
-
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 cancel the planned publication.
-
rescheduleEvent
public com.google.common.util.concurrent.ListenableFuture<ScheduleToken> rescheduleEvent(RescheduleEventRequest request)
Cancel a scheduled event and schedule another in its place.
-
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.
-
-