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 Elements
    Modifier and Type
    Optional Element
    Description
    long
    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 timeToLive
      Time before expire in seconds. Superseded by TimeToLive.
      Returns:
      positive number when expiration should be applied.
      Default:
      -1L