Uses of Interface
org.springframework.data.redis.core.SetSpec
Packages that use SetSpec
-
Uses of SetSpec in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core that return SetSpecModifier and TypeMethodDescriptionSetSpec.always()Set the key unconditionally.Configure digest comparison for conditional set operations.SetSpec.expiration(Expiration expiration) Set the key with the given expiration.Set the key to expire after the given duration.SetSpec.ifAbsent()Set the key if it does not exist.SetSpec.ifPresent()Set the key if it exists.SetSpec.keepTtl()Retain the existing TTL associated with the key.Configure value comparison for conditional set operations.Method parameters in org.springframework.data.redis.core with type arguments of type SetSpecModifier and TypeMethodDescriptionBoundValueOperations.set(@NonNull V value, @NonNull Consumer<SetSpec<@NonNull K, @NonNull V>> setConsumer) Setvaluefor the bound key and customize the operation throughSetSpec.ValueOperations.set(@NonNull K key, @NonNull V value, @NonNull Consumer<SetSpec<@NonNull K, @NonNull V>> setConsumer) BoundValueOperations.setGet(@NonNull V value, @NonNull Consumer<SetSpec<@NonNull K, @NonNull V>> setConsumer) Setvaluefor the bound key and customize the operation throughSetSpec.ValueOperations.setGet(@NonNull K key, @NonNull V value, @NonNull Consumer<SetSpec<@NonNull K, @NonNull V>> setConsumer)