Uses of Record Class
com.loomcache.server.consensus.LeaseConfig
Packages that use LeaseConfig
-
Uses of LeaseConfig in com.loomcache.server.consensus
Methods in com.loomcache.server.consensus that return LeaseConfigModifier and TypeMethodDescriptionstatic LeaseConfigLeaseConfig.defaults()Create a default LeaseConfig with standard values.static LeaseConfigLeaseConfig.disabled()Create a LeaseConfig with disabled lease checking.static LeaseConfigLeaseConfig.withClockSkew(long maxClockSkewMs) Create a LeaseConfig with custom clock skew tolerance.static LeaseConfigLeaseConfig.withDuration(long leaseDurationMs) Create a LeaseConfig with custom lease duration.Constructors in com.loomcache.server.consensus with parameters of type LeaseConfigModifierConstructorDescriptionLeaderLease(LeaseConfig config, Clock clock) Create a leader lease with the given configuration.