public static final class EventSchedulerGrpc.EventSchedulerStub extends io.grpc.stub.AbstractStub<EventSchedulerGrpc.EventSchedulerStub>
Service to use AxonServer as a provider of an EventScheduler
| Modifier and Type | Method and Description |
|---|---|
protected EventSchedulerGrpc.EventSchedulerStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
cancelScheduledEvent(CancelScheduledEventRequest request,
io.grpc.stub.StreamObserver<InstructionAck> responseObserver)
Cancel the publication of a scheduled event.
|
void |
rescheduleEvent(RescheduleEventRequest request,
io.grpc.stub.StreamObserver<ScheduleToken> responseObserver)
Cancel a scheduled event and schedule another in its place.
|
void |
scheduleEvent(ScheduleEventRequest request,
io.grpc.stub.StreamObserver<ScheduleToken> responseObserver)
Schedule the given event for publication at the given time}.
|
getCallOptions, getChannel, newStub, newStub, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReadyprotected EventSchedulerGrpc.EventSchedulerStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<EventSchedulerGrpc.EventSchedulerStub>public void scheduleEvent(ScheduleEventRequest request, io.grpc.stub.StreamObserver<ScheduleToken> responseObserver)
Schedule the given event for publication at the given time}. The returned ScheduleToken can be used to cancel the planned publication.
public void rescheduleEvent(RescheduleEventRequest request, io.grpc.stub.StreamObserver<ScheduleToken> responseObserver)
Cancel a scheduled event and schedule another in its place.
public void cancelScheduledEvent(CancelScheduledEventRequest request, io.grpc.stub.StreamObserver<InstructionAck> responseObserver)
Cancel the publication of a scheduled event. If the events has already been published, this method does nothing.
Copyright © 2020–2022 AxonIQ BV. All rights reserved.