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 TypeMethodDescription@Nullable Expirations<HK> BoundHashFieldExpirationOperations.getTimeToLive()Get the time to live for bound hash key/hash fields in seconds.@Nullable Expirations<HK> BoundHashFieldExpirationOperations.getTimeToLive(TimeUnit timeUnit) Get the time to live for the bound hash key/hash fields and convert it to the givenTimeUnit.default Expirations<@NonNull HK> HashOperations.getTimeToLive(@NonNull H key, Collection<@NonNull HK> hashKeys) Get the time to live forhashKeysin seconds.Expirations<@NonNull HK> HashOperations.getTimeToLive(@NonNull H key, @NonNull TimeUnit timeUnit, @NonNull Collection<@NonNull 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 @Nullable Mono<Expirations<HK>> ReactiveHashOperations.getTimeToLive(H key, Collection<HK> hashKeys) Get the time to live forhashKeyin seconds.@Nullable Mono<Expirations<HK>> 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.