Package io.mats3.util
package io.mats3.util
Mats3 Utilities - notably the MatsFuturizer, which provides a bridge from synchronous processes to the
highly asynchronous Mats^3 services.
-
ClassDescriptionAn instance of this class acts as a bridge service between the synchronous world of e.g.This exception is raised through the
CompletableFuture
if the timeout specified when getting theCompletableFuture
is reached (to get yourself a future, use one of thefuturizeXYZ(..)
methods).An instance of this class will be the return value of anyCompletableFuture
s created with theMatsFuturizer
.If you need a random string for a part of the traceId (Read NOTE about traceIds!), use this class instead ofUUID
, because UUID has low entropy density with only 4 bits per character, and dashes.Utility class for replacing dodgy characters from queue/topic names, and names in general, in the Message Broker world - it is quite restrictive, replacing any character not in [a-z,A-Z,0-9,.,_,-] (lower alpha, upper alpha, digits, dot, underscore, minus/dash) with '_'.A small tool to produce a String - specifically an opinionated TraceId.