Annotation Interface RId


@Retention(RUNTIME) @Target(FIELD) public @interface RId
Specifies that the field is a Live Object's id field. Only single field could be specified per class.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends org.redisson.liveobject.resolver.RIdResolver<?>>
    (Optional) Live Object id generator.
  • Element Details

    • generator

      Class<? extends org.redisson.liveobject.resolver.RIdResolver<?>> generator
      (Optional) Live Object id generator. By default id is required to be fill during object creation.
      See Also:
      • UUIDGenerator
      • LongGenerator
      Default:
      org.redisson.liveobject.resolver.RequiredIdResolver.class