org.springframework.cache.interceptor

## Class CachePutOperation

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

- All Implemented Interfaces:
    BasicOperation

      public class CachePutOperation
      extends CacheOperation

  Class describing a cache 'put' operation.
  Since:
    3.1
  Author:
    Costin Leau, Phillip Webb, Marcin Kamionowski

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `CachePutOperation.Builder` A builder that can be used to create a `CachePutOperation`.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CachePutOperation(CachePutOperation.Builder b)` Create a new `CachePutOperation` instance from the given builder.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getUnless()`

    - ### Methods inherited from class org.springframework.cache.interceptor.CacheOperation

      `equals, getCacheManager, getCacheNames, getCacheResolver, getCondition, getKey, getKeyGenerator, getName, hashCode, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### CachePutOperation

          public CachePutOperation(CachePutOperation.Builder b)

      Create a new `CachePutOperation` instance from the given builder.
      Since:
        4.3

  - ### Method Detail

    - #### getUnless

          @Nullable
          public String getUnless()