Class RestTemplateCacheValueLoader

  • All Implemented Interfaces:
    CacheValueLoader<org.springframework.web.client.RestTemplate>

    @Deprecated(since="1905.08-CEP",
                forRemoval=true)
    public class RestTemplateCacheValueLoader
    extends java.lang.Object
    implements CacheValueLoader<org.springframework.web.client.RestTemplate>
    Deprecated, for removal: This API element is subject to removal in a future version.
    no alternatives available
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      static RestTemplateCacheValueLoader from​(org.springframework.web.client.RestTemplate restTemplate)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      org.springframework.web.client.RestTemplate load​(CacheKey key)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Used by cache region to load missing value.
      This method does not have to be thread safe.
      If CacheValueLoadException thrown unit is not added to cache.
      • Methods inherited from class java.lang.Object

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

      • from

        public static RestTemplateCacheValueLoader from​(org.springframework.web.client.RestTemplate restTemplate)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • load

        public org.springframework.web.client.RestTemplate load​(CacheKey key)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Description copied from interface: CacheValueLoader
        Used by cache region to load missing value.
        This method does not have to be thread safe.
        If CacheValueLoadException thrown unit is not added to cache.
        Specified by:
        load in interface CacheValueLoader<org.springframework.web.client.RestTemplate>
      • equals

        public boolean equals​(java.lang.Object o)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Overrides:
        hashCode in class java.lang.Object