Class RestTemplateCacheValueLoader
- java.lang.Object
-
- de.hybris.platform.outboundservices.cache.impl.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 booleanequals(java.lang.Object o)Deprecated, for removal: This API element is subject to removal in a future version.static RestTemplateCacheValueLoaderfrom(org.springframework.web.client.RestTemplate restTemplate)Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()Deprecated, for removal: This API element is subject to removal in a future version.org.springframework.web.client.RestTemplateload(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.
-
-
-
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:CacheValueLoaderUsed 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:
loadin interfaceCacheValueLoader<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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
hashCodein classjava.lang.Object
-
-