RedisHash marks Objects as aggregate roots to be stored in a Redis hash.
- Since:
- 1.7
- Author:
- Christoph Strobl
-
Optional Element Summary
Optional Elements
long
Time before expire in seconds.
The prefix to distinguish between domain types.
-
Element Details
-
value
@AliasFor(annotation=org.springframework.data.keyvalue.annotation.KeySpace.class,
attribute="value")
String value
The prefix to distinguish between domain types.
- Returns:
- See Also:
-
- Default:
- ""
-
timeToLive
long timeToLive
Time before expire in seconds. Superseded by
TimeToLive.
- Returns:
- positive number when expiration should be applied.
- Default:
- -1L