Uses of Class
org.springframework.data.redis.core.types.Expirations
Packages that use Expirations
Package
Description
Core package for integrating Redis with Spring concepts.
Redis domain specific types.
-
Uses of Expirations in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core that return ExpirationsModifier and TypeMethodDescriptionBoundHashFieldExpirationOperations.getTimeToLive()Get the time to live for bound hash key/hash fields in seconds.BoundHashFieldExpirationOperations.getTimeToLive(TimeUnit timeUnit) Get the time to live for the bound hash key/hash fields and convert it to the givenTimeUnit.default Expirations<HK>HashOperations.getTimeToLive(H key, Collection<HK> hashKeys) Get the time to live forhashKeysin seconds.HashOperations.getTimeToLive(H key, TimeUnit timeUnit, Collection<HK> hashKeys) Get the time to live forhashKeysand convert it to the givenTimeUnit.Methods in org.springframework.data.redis.core that return types with arguments of type ExpirationsModifier and TypeMethodDescriptiondefault Mono<Expirations<HK>>ReactiveHashOperations.getTimeToLive(H key, Collection<HK> hashKeys) Get the time to live forhashKeyin seconds.ReactiveHashOperations.getTimeToLive(H key, TimeUnit timeUnit, Collection<HK> hashKeys) Get the time to live forhashKeyand convert it to the givenTimeUnit. -
Uses of Expirations in org.springframework.data.redis.core.types
Methods in org.springframework.data.redis.core.types that return ExpirationsModifier and TypeMethodDescriptionstatic <K> Expirations<K>Expirations.of(TimeUnit targetUnit, List<K> keys, Expirations.Timeouts timeouts) Factory Method to createExpirationsfrom raw sources provided in a givenTimeUnit.