org.springframework.cache.interceptor

## 类 CacheOperation.Builder

- java.lang.Object
- - org.springframework.cache.interceptor.CacheOperation.Builder

- 直接已知子类:
    CacheableOperation.Builder, CacheEvictOperation.Builder, CachePutOperation.Builder
  封闭类:
    CacheOperation

      public abstract static class CacheOperation.Builder
      extends Object

  从以下版本开始:
    4.3

- - ### 构造器概要

    构造器
    构造器和说明
    `Builder()`

  - ### 方法概要

    所有方法 实例方法 抽象方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `abstract CacheOperation` | `build()`
    `String` | `getCacheManager()`
    `Set<String>` | `getCacheNames()`
    `String` | `getCacheResolver()`
    `String` | `getKey()`
    `String` | `getKeyGenerator()`
    `protected StringBuilder` | `getOperationDescription()` Return an identifying description for this caching operation.
    `void` | `setCacheManager(String cacheManager)`
    `void` | `setCacheName(String cacheName)`
    `void` | `setCacheNames(String... cacheNames)`
    `void` | `setCacheResolver(String cacheResolver)`
    `void` | `setCondition(String condition)`
    `void` | `setKey(String key)`
    `void` | `setKeyGenerator(String keyGenerator)`
    `void` | `setName(String name)`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### Builder

          public Builder()

  - ### 方法详细资料

    - #### setName

          public void setName(String name)

    - #### setCacheName

          public void setCacheName(String cacheName)

    - #### setCacheNames

          public void setCacheNames(String... cacheNames)

    - #### getCacheNames

          public Set<String> getCacheNames()

    - #### setKey

          public void setKey(String key)

    - #### getKey

          public String getKey()

    - #### getKeyGenerator

          public String getKeyGenerator()

    - #### getCacheManager

          public String getCacheManager()

    - #### getCacheResolver

          public String getCacheResolver()

    - #### setKeyGenerator

          public void setKeyGenerator(String keyGenerator)

    - #### setCacheManager

          public void setCacheManager(String cacheManager)

    - #### setCacheResolver

          public void setCacheResolver(String cacheResolver)

    - #### setCondition

          public void setCondition(String condition)

    - #### getOperationDescription

          protected StringBuilder getOperationDescription()

      Return an identifying description for this caching operation.

      Available to subclasses, for inclusion in their `toString()` result.

    - #### build

          public abstract CacheOperation build()