protected static class NaiveUserAgent.NullCache<T> extends Object implements FSMultiThreadCache<T>
| Modifier | Constructor and Description |
|---|---|
protected |
NullCache() |
| Modifier and Type | Method and Description |
|---|---|
T |
get(String uri) |
void |
put(String uri,
T value)
Store value in cache.
|
public T get(String uri)
get in interface FSMultiThreadCache<T>uri - The resolved uri as returned from any uri resolver. Never null.public void put(String uri, T value)
FSMultiThreadCacheput in interface FSMultiThreadCache<T>uri - The resolved uri as returned from any uri resolver. Never null.value - The contents of the uri as returned from any protocol handlers or the default user agent. Never null.Copyright © 2018. All rights reserved.