Annotation Interface StoreSpec


@Target({METHOD,CONSTRUCTOR}) @Retention(RUNTIME) public @interface StoreSpec
Specifies one or more Store configurations for a test case.
  • Element Details

    • tested

      Default:
      {MEMORY, DISK, REDIS_STANDALONE, REDIS_CLUSTER}
    • skipped

      Specifies StoreTypes to skip in testing.
      Default:
      {}
    • maxSize

      long maxSize
      Default:
      9223372036854775807L
    • fileSystem

      Default:
      {IN_MEMORY, SYSTEM, EMULATED_WINDOWS, NONE}
    • execution

      Default:
      ASYNC
    • appVersion

      int appVersion
      Default:
      1
    • indexUpdateDelaySeconds

      int indexUpdateDelaySeconds
      Delay between automatic index updates done by the disk store.
      Default:
      -1
    • autoAdvanceClock

      boolean autoAdvanceClock
      Whether MockClock should automatically advance itself by 1 second.
      Default:
      true
    • dispatchEagerly

      boolean dispatchEagerly
      Whether MockDelayer should eagerly dispatch ready tasks (tasks whose delay is evaluated) whenever a task is submitted.
      Default:
      true
    • editorLockTtlSeconds

      int editorLockTtlSeconds
      Default:
      -1
    • staleEntryLockTtlSeconds

      int staleEntryLockTtlSeconds
      Default:
      -1