Uses of Interface
io.fluxzero.common.Registration
Packages that use Registration
-
Uses of Registration in io.fluxzero.common
Methods in io.fluxzero.common that return RegistrationModifier and TypeMethodDescriptiondefault RegistrationRegistration.merge(Registration otherRegistration) Returns a newRegistrationthat cancels both this and the givenotherRegistration.static RegistrationRegistration.noOp()Returns a no-opRegistrationthat does nothing onRegistration.cancel().Registers a listener that is invoked whenever the backing clock changes.Backlog.registerMonitor(Consumer<List<T>> monitor) Adds a monitor to observe flushed batches.Monitored.registerMonitor(Consumer<T> monitor) Registers a monitor that will be notified when an activity of typeToccurs.InMemoryTaskScheduler.schedule(long deadline, ThrowingRunnable task) TaskScheduler.schedule(long deadline, ThrowingRunnable task) Schedules a task to be executed at the given epoch millisecond timestamp.default RegistrationTaskScheduler.schedule(Duration duration, ThrowingRunnable task) Schedules a task to be executed after a specified delay.default RegistrationTaskScheduler.schedule(Instant deadline, ThrowingRunnable task) Schedules a task to be executed at a specific timestamp.Methods in io.fluxzero.common with parameters of type RegistrationModifier and TypeMethodDescriptiondefault RegistrationRegistration.merge(Registration otherRegistration) Returns a newRegistrationthat cancels both this and the givenotherRegistration. -
Uses of Registration in io.fluxzero.common.caching
Methods in io.fluxzero.common.caching that return RegistrationModifier and TypeMethodDescriptionAdaptiveObjectCache.registerEvictionListener(Consumer<CacheEviction> listener) Cache.registerEvictionListener(Consumer<CacheEviction> listener) Registers a listener to be notified whenever a cache entry is evicted or removed.MemoryAwareCacheSupport.registerEvictionListener(Consumer<MemoryAwareCacheSupportEviction<K, V>> listener) NoOpCache.registerEvictionListener(Consumer<CacheEviction> listener)