Class DefaultFluxCapacitor
- java.lang.Object
-
- io.fluxcapacitor.javaclient.configuration.DefaultFluxCapacitor
-
- All Implemented Interfaces:
FluxCapacitor,AutoCloseable
public class DefaultFluxCapacitor extends Object implements FluxCapacitor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultFluxCapacitor.Builder
-
Field Summary
-
Fields inherited from interface io.fluxcapacitor.javaclient.FluxCapacitor
applicationInstance, instance
-
-
Constructor Summary
Constructors Constructor Description DefaultFluxCapacitor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RegistrationbeforeShutdown(Runnable task)Register a task to run before this Flux Capacitor instance is closed.static DefaultFluxCapacitor.Builderbuilder()voidclose()Serializerserializer()Returns the default serializerTrackingtracking(MessageType messageType)Returns a client to assist with the tracking of a given message type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.fluxcapacitor.javaclient.FluxCapacitor
aggregateRepository, cache, client, commandGateway, errorGateway, eventGateway, eventStore, execute, keyValueStore, metricsGateway, queryGateway, registerHandlers, registerHandlers, resultGateway, scheduler
-
-
-
-
Method Detail
-
builder
public static DefaultFluxCapacitor.Builder builder()
-
tracking
public Tracking tracking(MessageType messageType)
Description copied from interface:FluxCapacitorReturns a client to assist with the tracking of a given message type.- Specified by:
trackingin interfaceFluxCapacitor
-
serializer
public Serializer serializer()
Description copied from interface:FluxCapacitorReturns the default serializer- Specified by:
serializerin interfaceFluxCapacitor
-
beforeShutdown
public Registration beforeShutdown(Runnable task)
Description copied from interface:FluxCapacitorRegister a task to run before this Flux Capacitor instance is closed.- Specified by:
beforeShutdownin interfaceFluxCapacitor
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceFluxCapacitor
-
-