org.springframework.cache.interceptor

Class CacheOperation

  • java.lang.Object
    • org.springframework.cache.interceptor.CacheOperation
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class and Description
      static class  CacheOperation.Builder
      Base class for builders that can be used to create a CacheOperation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object other)
      This implementation compares the toString() results.
      java.lang.String getCacheManager() 
      java.util.Set<java.lang.String> getCacheNames()
      Return the cache name(s) associated with the operation.
      java.lang.String getCacheResolver() 
      java.lang.String getCondition() 
      java.lang.String getKey() 
      java.lang.String getKeyGenerator() 
      java.lang.String getName() 
      int hashCode()
      This implementation returns toString()'s hash code.
      java.lang.String toString()
      Return an identifying description for this cache operation.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String getName()
      • getCacheNames

        public java.util.Set<java.lang.String> getCacheNames()
        Description copied from interface: BasicOperation
        Return the cache name(s) associated with the operation.
        Specified by:
        getCacheNames in interface BasicOperation
      • getKey

        public java.lang.String getKey()
      • getKeyGenerator

        public java.lang.String getKeyGenerator()
      • getCacheManager

        public java.lang.String getCacheManager()
      • getCacheResolver

        public java.lang.String getCacheResolver()
      • getCondition

        public java.lang.String getCondition()
      • equals

        public boolean equals(java.lang.Object other)
        This implementation compares the toString() results.
        Overrides:
        equals in class java.lang.Object
        See Also:
        toString()
      • hashCode

        public int hashCode()
        This implementation returns toString()'s hash code.
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        toString()