Package io.axoniq.axonserver.grpc.event
Class EventSchedulerGrpc.EventSchedulerBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<EventSchedulerGrpc.EventSchedulerBlockingStub>
-
- io.axoniq.axonserver.grpc.event.EventSchedulerGrpc.EventSchedulerBlockingStub
-
- Enclosing class:
- EventSchedulerGrpc
public static final class EventSchedulerGrpc.EventSchedulerBlockingStub extends io.grpc.stub.AbstractBlockingStub<EventSchedulerGrpc.EventSchedulerBlockingStub>
A stub to allow clients to do limited synchronous 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.EventSchedulerBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)InstructionAckcancelScheduledEvent(CancelScheduledEventRequest request)Cancel the publication of a scheduled event.ScheduleTokenrescheduleEvent(RescheduleEventRequest request)Cancel a scheduled event and schedule another in its place.ScheduleTokenscheduleEvent(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.EventSchedulerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<EventSchedulerGrpc.EventSchedulerBlockingStub>
-
scheduleEvent
public 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 ScheduleToken rescheduleEvent(RescheduleEventRequest request)
Cancel a scheduled event and schedule another in its place.
-
cancelScheduledEvent
public InstructionAck cancelScheduledEvent(CancelScheduledEventRequest request)
Cancel the publication of a scheduled event. If the events has already been published, this method does nothing.
-
-