Class DcbEventSchedulerGrpc.DcbEventSchedulerBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<DcbEventSchedulerGrpc.DcbEventSchedulerBlockingStub>
-
- io.axoniq.axonserver.grpc.event.dcb.DcbEventSchedulerGrpc.DcbEventSchedulerBlockingStub
-
- Enclosing class:
- DcbEventSchedulerGrpc
public static final class DcbEventSchedulerGrpc.DcbEventSchedulerBlockingStub extends io.grpc.stub.AbstractBlockingStub<DcbEventSchedulerGrpc.DcbEventSchedulerBlockingStub>
A stub to allow clients to do limited synchronous 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.DcbEventSchedulerBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)InstructionAckcancelScheduledEvent(CancelScheduledEventRequest request)Cancel the publication of a scheduled event.ScheduleTokenrescheduleEvent(RescheduleEventRequest request)Reschedule a scheduled event and optionally replace it by a new event.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 DcbEventSchedulerGrpc.DcbEventSchedulerBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<DcbEventSchedulerGrpc.DcbEventSchedulerBlockingStub>
-
scheduleEvent
public 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 ScheduleToken rescheduleEvent(RescheduleEventRequest request)
Reschedule a scheduled event and optionally replace it by a new event.
-
cancelScheduledEvent
public InstructionAck cancelScheduledEvent(CancelScheduledEventRequest request)
Cancel the publication of a scheduled event. If the events has already been published, this method does nothing.
-
-