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
Optional ElementsModifier and TypeOptional ElementDescriptionlong
Time before expire in seconds.The prefix to distinguish between domain types.
-
Element Details
-
value
The 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
-