Annotation Interface OfflineMode


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface OfflineMode
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class type of the element of the Collection (like List or Set), or the type of the map value.
    Spring Expression Language (SpEL) expression for computing the key dynamically.
    Class type of the map's element.
  • Element Details

    • key

      String key
      Spring Expression Language (SpEL) expression for computing the key dynamically.
      Default:
      ""
    • elementClass

      Class<?> elementClass
      Class type of the element of the Collection (like List or Set), or the type of the map value.
      Default:
      java.lang.Void.class
    • keyClass

      Class<?> keyClass
      Class type of the map's element. Only simple types are supported (String, Integer etc).
      Default:
      java.lang.Void.class