Annotation Interface RedisHash
RedisHash
marks Objects as aggregate roots to be stored in a Redis hash.- Since:
- 1.7
- Author:
- Christoph Strobl
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionlong
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 valueThe prefix to distinguish between domain types.- Returns:
- See Also:
- Default:
- ""
-
timeToLive
long timeToLiveTime before expire in seconds. Superseded byTimeToLive
.- Returns:
- positive number when expiration should be applied.
- Default:
- -1L
-