SystemSettings

public final class SystemSettings implements SystemFeatures

A configuration of features of a system context.

Users may choose to turn certain system features on or off depending on the required performance.

Functions

Link copied to clipboard
public static SystemSettings defaults()
Obtains the default configuration.
Link copied to clipboard
Disables querying of the latest domain Aggregate states.
Link copied to clipboard
Disables CommandLog.
Link copied to clipboard
Configures the system context NOT to post system events in parallel.
Link copied to clipboard
Enables querying of the latest domain Aggregate states.
Link copied to clipboard
Enables the configured system context to store CommandLogs for domain commands.
Link copied to clipboard
Configures the system context to post system events in parallel.
Link copied to clipboard
public boolean equals(Object o)
Link copied to clipboard
Configures the system context NOT to store system events for better performance.
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public boolean includeAggregateMirroring()
Obtains the Aggregate mirrors setting.
Link copied to clipboard
public boolean includeCommandLog()
Obtains the CommandLog setting.
Link copied to clipboard
public boolean includePersistentEvents()
Obtains the system events persistence setting.
Link copied to clipboard
Configures the system context to store system events.
Link copied to clipboard
public boolean postEventsInParallel()
Checks if the system events are allowed to be posted in parallel.
Link copied to clipboard
Configures the system context to post system events using the given Executor.
Link copied to clipboard
Configures the system context to post system events using the common pool.