Module io.fluxzero.javaclient
Class LocalSchedulingClient
java.lang.Object
io.fluxzero.javaclient.tracking.client.LocalTrackingClient
io.fluxzero.javaclient.scheduling.client.LocalSchedulingClient
- All Implemented Interfaces:
io.fluxzero.common.Monitored<List<io.fluxzero.common.api.SerializedMessage>>,io.fluxzero.common.tracking.HasMessageStore,GatewayClient,SchedulingClient,TrackingClient,AutoCloseable
A client implementation for managing scheduling operations using an in-memory schedule store.
This class extends
LocalTrackingClient and implements the SchedulingClient interface.
It serves as a local, non-distributed scheduling client primarily useful for testing scenarios
or where an in-memory schedule store suffices.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes any open resources associated with this client.Methods inherited from class io.fluxzero.javaclient.tracking.client.LocalTrackingClient
append, claimSegment, disconnectTracker, getPosition, read, readFromIndex, registerMonitor, resetPosition, setRetentionTime, storePositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxzero.javaclient.scheduling.client.SchedulingClient
cancelSchedule, cancelSchedule, getSchedule, hasSchedule, schedule, scheduleMethods inherited from interface io.fluxzero.javaclient.tracking.client.TrackingClient
disconnectTracker, getMessageType, getTopic, readAndWait, resetPosition, storePosition
-
Constructor Details
-
LocalSchedulingClient
-
-
Method Details
-
getMessageStore
- Specified by:
getMessageStorein interfaceio.fluxzero.common.tracking.HasMessageStore
-
close
public void close()Description copied from interface:TrackingClientCloses any open resources associated with this client.Once closed, the client should no longer be used to fetch or commit tracking state.
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceGatewayClient- Specified by:
closein interfaceSchedulingClient- Specified by:
closein interfaceTrackingClient- Overrides:
closein classLocalTrackingClient
-