Uses of Interface
io.github.bucket4j.TimeMeter
-
-
Uses of TimeMeter in io.github.bucket4j
Fields in io.github.bucket4j declared as TimeMeter Modifier and Type Field Description static TimeMeterTimeMeter. SYSTEM_MILLISECONDSThe implementation ofTimeMeterwhich works aroundSystem.currentTimeMillis()static TimeMeterTimeMeter. SYSTEM_NANOTIMEThe implementation ofTimeMeterwhich works aroundSystem.nanoTime() -
Uses of TimeMeter in io.github.bucket4j.distributed.proxy
Methods in io.github.bucket4j.distributed.proxy that return types with arguments of type TimeMeter Modifier and Type Method Description Optional<TimeMeter>ClientSideConfig. getClientSideClock()Returns clock that will be used for time measurement.Methods in io.github.bucket4j.distributed.proxy with parameters of type TimeMeter Modifier and Type Method Description ClientSideConfigClientSideConfig. withClientClock(TimeMeter clientClock)Returns new instance ofClientSideConfigwith configuredclientClock.Constructor parameters in io.github.bucket4j.distributed.proxy with type arguments of type TimeMeter Constructor Description ClientSideConfig(Version backwardCompatibilityVersion, Optional<TimeMeter> clientSideClock) -
Uses of TimeMeter in io.github.bucket4j.distributed.proxy.optimization.delay
Constructors in io.github.bucket4j.distributed.proxy.optimization.delay with parameters of type TimeMeter Constructor Description DelayOptimization(DelayParameters delayParameters, OptimizationListener listener, TimeMeter timeMeter) -
Uses of TimeMeter in io.github.bucket4j.distributed.proxy.optimization.predictive
Constructors in io.github.bucket4j.distributed.proxy.optimization.predictive with parameters of type TimeMeter Constructor Description PredictiveOptimization(PredictionParameters predictionParameters, DelayParameters delayParameters, OptimizationListener listener, TimeMeter timeMeter) -
Uses of TimeMeter in io.github.bucket4j.local
Methods in io.github.bucket4j.local that return TimeMeter Modifier and Type Method Description TimeMeterLocalBucket. getTimeMeter()Returns the clock that is used by this bucketTimeMeterLockFreeBucket. getTimeMeter()TimeMeterSynchronizedBucket. getTimeMeter()TimeMeterThreadUnsafeBucket. getTimeMeter()Methods in io.github.bucket4j.local with parameters of type TimeMeter Modifier and Type Method Description LocalBucketBuilderLocalBucketBuilder. withCustomTimePrecision(TimeMeter customTimeMeter)SpecifiescustomTimeMetertime meter for buckets that will be created by this builder.Constructors in io.github.bucket4j.local with parameters of type TimeMeter Constructor Description LockFreeBucket(BucketConfiguration configuration, MathType mathType, TimeMeter timeMeter)SynchronizedBucket(BucketConfiguration configuration, MathType mathType, TimeMeter timeMeter)ThreadUnsafeBucket(BucketConfiguration configuration, MathType mathType, TimeMeter timeMeter)
-