Annotation Interface NessiePersistCache


@Target(TYPE) @Retention(RUNTIME) @Inherited public @interface NessiePersistCache
Adds a cache in front of the created Persist instances, if the capacityMb() is >= 0.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    long
    The maximum capacity of the cache in MB.
  • Element Details

    • capacityMb

      long capacityMb
      The maximum capacity of the cache in MB. Default is 1 MB.
      Default:
      1L