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.BuilderModifier and TypeMethodDescriptionstatic TSID.Factory.BuilderTSID.Factory.builder()Returns a builder object.Set the clock to be used in tests.TSID.Factory.Builder.withCustomEpoch(Instant customEpoch) Set the custom epoch.Set the node identifier.TSID.Factory.Builder.withNodeBits(Integer nodeBits) Set the node identifier bits length.TSID.Factory.Builder.withRandom(Random random) Set the random generator.TSID.Factory.Builder.withRandomFunction(IntFunction<byte[]> randomFunction) Set the random function.TSID.Factory.Builder.withRandomFunction(IntSupplier randomFunction) Set the random function.