Class DcbEventSchedulerGrpc.DcbEventSchedulerBlockingV2Stub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<DcbEventSchedulerGrpc.DcbEventSchedulerBlockingV2Stub>
-
- io.axoniq.axonserver.grpc.event.dcb.DcbEventSchedulerGrpc.DcbEventSchedulerBlockingV2Stub
-
- Enclosing class:
- DcbEventSchedulerGrpc
public static final class DcbEventSchedulerGrpc.DcbEventSchedulerBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<DcbEventSchedulerGrpc.DcbEventSchedulerBlockingV2Stub>
A stub to allow clients to do 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.DcbEventSchedulerBlockingV2Stubbuild(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.DcbEventSchedulerBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<DcbEventSchedulerGrpc.DcbEventSchedulerBlockingV2Stub>
-
scheduleEvent
public ScheduleToken scheduleEvent(ScheduleEventRequest request) throws io.grpc.StatusException
Schedule the given event for publication at the given time}. The returned ScheduleToken can be used to reschedule or cancel the planned publication.
- Throws:
io.grpc.StatusException
-
rescheduleEvent
public ScheduleToken rescheduleEvent(RescheduleEventRequest request) throws io.grpc.StatusException
Reschedule a scheduled event and optionally replace it by a new event.
- Throws:
io.grpc.StatusException
-
cancelScheduledEvent
public InstructionAck cancelScheduledEvent(CancelScheduledEventRequest request) throws io.grpc.StatusException
Cancel the publication of a scheduled event. If the events has already been published, this method does nothing.
- Throws:
io.grpc.StatusException
-
-