Annotation Type CacheNamespace


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface CacheNamespace
    Author:
    Clinton Begin, Kazuki Shimizu
    • Element Detail

      • implementation

        java.lang.Class<? extends Cache> implementation
        Default:
        org.apache.ibatis.cache.impl.PerpetualCache.class
      • eviction

        java.lang.Class<? extends Cache> eviction
        Default:
        org.apache.ibatis.cache.decorators.LruCache.class
      • flushInterval

        long flushInterval
        Default:
        0L
      • size

        int size
        Default:
        1024
      • readWrite

        boolean readWrite
        Default:
        true
      • blocking

        boolean blocking
        Default:
        false
      • properties

        Property[] properties
        Property values for a implementation object.
        Since:
        3.4.2
        Default:
        {}