Uses of Class
io.hypersistence.tsid.TSID.Factory.Builder
-
-
Uses of TSID.Factory.Builder in io.hypersistence.tsid
Methods in io.hypersistence.tsid that return TSID.Factory.Builder Modifier and Type Method Description static TSID.Factory.BuilderTSID.Factory. builder()Returns a builder object.TSID.Factory.BuilderTSID.Factory.Builder. withClock(java.time.Clock clock)Set the clock to be used in tests.TSID.Factory.BuilderTSID.Factory.Builder. withCustomEpoch(java.time.Instant customEpoch)Set the custom epoch.TSID.Factory.BuilderTSID.Factory.Builder. withNode(java.lang.Integer node)Set the node identifier.TSID.Factory.BuilderTSID.Factory.Builder. withNodeBits(java.lang.Integer nodeBits)Set the node identifier bits length.TSID.Factory.BuilderTSID.Factory.Builder. withRandom(java.util.Random random)Set the random generator.TSID.Factory.BuilderTSID.Factory.Builder. withRandomFunction(java.util.function.IntFunction<byte[]> randomFunction)Set the random function.TSID.Factory.BuilderTSID.Factory.Builder. withRandomFunction(java.util.function.IntSupplier randomFunction)Set the random function.Constructors in io.hypersistence.tsid with parameters of type TSID.Factory.Builder Constructor Description Factory(TSID.Factory.Builder builder)It builds a generator with the given builder.
-