public class DefaultFluxCapacitor extends Object implements FluxCapacitor
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultFluxCapacitor.Builder |
applicationInstance, instance| Constructor and Description |
|---|
DefaultFluxCapacitor() |
| Modifier and Type | Method and Description |
|---|---|
static DefaultFluxCapacitor.Builder |
builder() |
Client |
client()
Returns the low level client used by this FluxCapacitor instance to interface with the Flux Capacitor service.
|
CommandGateway |
commandGateway()
Returns the gateway for command messages.
|
ErrorGateway |
errorGateway()
Returns the gateway for any error messages published while handling a command or query.
|
EventGateway |
eventGateway()
Returns the message gateway for application events.
|
EventSourcing |
eventSourcing()
Returns a client to assist with event sourcing.
|
KeyValueStore |
keyValueStore()
Returns a client for the key value service offered by Flux Capacitor.
|
MetricsGateway |
metricsGateway()
Returns the gateway for metrics events.
|
Properties |
properties()
Returns custom properties registered with this FluxCapacitor instance.
|
QueryGateway |
queryGateway()
Returns the gateway for query messages.
|
ResultGateway |
resultGateway()
Returns the gateway for result messages sent by handlers of commands and queries.
|
Scheduler |
scheduler()
Returns the message scheduling client.
|
Tracking |
tracking(MessageType messageType)
Returns a client to assist with the tracking of a given message type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getProperty, getProperty, loadAggregate, publishEvent, publishEvent, publishMetrics, publishMetrics, query, query, queryAndWait, queryAndWait, registerLocalHandlers, registerLocalHandlers, sendAndForgetCommand, sendAndForgetCommand, sendCommand, sendCommand, sendCommandAndWait, sendCommandAndWait, startTracking, startTrackingpublic static DefaultFluxCapacitor.Builder builder()
public EventSourcing eventSourcing()
FluxCapacitoreventSourcing in interface FluxCapacitorpublic Scheduler scheduler()
FluxCapacitorscheduler in interface FluxCapacitorpublic KeyValueStore keyValueStore()
FluxCapacitorkeyValueStore in interface FluxCapacitorpublic CommandGateway commandGateway()
FluxCapacitorcommandGateway in interface FluxCapacitorpublic QueryGateway queryGateway()
FluxCapacitorqueryGateway in interface FluxCapacitorpublic EventGateway eventGateway()
FluxCapacitorFluxCapacitor.eventSourcing() to publish events belonging to
an aggregate.eventGateway in interface FluxCapacitorpublic ResultGateway resultGateway()
FluxCapacitorresultGateway in interface FluxCapacitorpublic ErrorGateway errorGateway()
FluxCapacitorerrorGateway in interface FluxCapacitorpublic MetricsGateway metricsGateway()
FluxCapacitormetricsGateway in interface FluxCapacitorpublic Client client()
FluxCapacitorclient in interface FluxCapacitorpublic Properties properties()
FluxCapacitorproperties in interface FluxCapacitorpublic Tracking tracking(MessageType messageType)
FluxCapacitortracking in interface FluxCapacitorCopyright © 2019 Flux Capacitor. All rights reserved.