Class DisabledCache<K,V>

java.lang.Object
com.okta.sdk.impl.cache.DisabledCache<K,V>
All Implemented Interfaces:
Cache<K,V>

public class DisabledCache<K,V> extends Object implements Cache<K,V>
A disabled implementation that does nothing. This is useful for a CacheManager implementation to return instead of retuning null. Non-null guarantees reduce a program's cyclomatic complexity.
Since:
0.5.0