Annotation Interface KeyValueStore


@Documented @Retention(RUNTIME) @Singleton public @interface KeyValueStore
Used to specify which key value bucket should be used.
Since:
4.0.0
Author:
Joachim Grimm
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    This is an alias for value.
    The nats connection to use.
    The name of the key value store/bucket.
  • Element Details

    • value

      String value
      The name of the key value store/bucket.
      Returns:
      The name of the key value store.
      Default:
      ""
    • connection

      @AliasFor(annotation=NatsConnection.class, member="connection") String connection
      The nats connection to use.
      Returns:
      The connection to use.
      See Also:
      Default:
      ""
    • bucket

      @AliasFor(member="value") String bucket
      This is an alias for value.
      Returns:
      the bucket name to use.
      Default:
      ""