public class NoCachingStrategy extends java.lang.Object implements CachingStrategy
| Constructor and Description |
|---|
NoCachingStrategy()
Constructs a new caching strategy that does not do caching
|
| Modifier and Type | Method and Description |
|---|---|
void |
invalidateCache()
Invalidates the current cached value.
|
boolean |
isCacheValid()
Checks whether the cache is still valid.
|
void |
validateCache()
Validates the current cached value.
|
public NoCachingStrategy()
public boolean isCacheValid()
CachingStrategyisCacheValid in interface CachingStrategypublic void validateCache()
CachingStrategyvalidateCache in interface CachingStrategypublic void invalidateCache()
CachingStrategyinvalidateCache in interface CachingStrategy