Uses of Class
net.pincette.jes.Aggregate
-
Uses of Aggregate in net.pincette.jes
Methods in net.pincette.jes that return AggregateModifier and TypeMethodDescriptionSets the name of the application.Aggregate.withBackpressureTimeout(Duration backpressureTimeout) Aggregate.withBreakingTheGlass()Honors the JWT fieldbreakingTheGlasswhen checking ACLs.Aggregate.withBuilder(net.pincette.rs.streams.Streams<String, JsonObject, T, U> builder) Sets theStreamsbuilder that will be used to create the topology.Aggregate.withCommandProcessor(String command, Flow.Processor<net.pincette.rs.streams.Message<String, JsonObject>, net.pincette.rs.streams.Message<String, JsonObject>> commandProcessor) Inserts a processor between the command topic and a specific reducer.Aggregate.withCommandProcessor(Flow.Processor<net.pincette.rs.streams.Message<String, JsonObject>, net.pincette.rs.streams.Message<String, JsonObject>> commandProcessor) Inserts a processor between the command topic and the reducers.Aggregate.withEnvironment(String environment) Sets the environment in which this aggregate will live.Aggregate.withLogger(Logger logger) Sets the logger, which will be used when the log level isFINEST.Aggregate.withMongoClient(com.mongodb.reactivestreams.client.MongoClient client) Sets the MongoDB client that is needed to create a session.Aggregate.withMongoDatabase(com.mongodb.reactivestreams.client.MongoDatabase database) The MongoDB database in which the events and aggregates are written.Aggregate.withReducer(String command, Flow.Processor<net.pincette.rs.streams.Message<String, JsonObject>, net.pincette.rs.streams.Message<String, JsonObject>> reducer) Sets the reducer for the given command.Aggregate.withReducer(String command, Reducer reducer) Sets the reducer for the given command.Aggregate.withReducer(Reducer reducer) Sets the reducer for all commands, which means the reducer does the dispatching itself.Sets the aggregate type, which will become the suffix for the full aggregate type.Aggregate.withUniqueExpression(JsonValue expression) When the expression is given it is used on commands to obtain an alternate unique key.