T- The value type being stored
public interface DataCache<T extends Serializable>
|Modifier and Type||Method and Description|
Removes all of the mappings from this cache.
Read data from cache.
Put a value on a key in a data cache.
T get(String key)
key- the key whose associated value is to be returned
nullif this map contains no mapping for the key
boolean set(String key, T value) throws IllegalStateException
key- the key under which this object should be added.
value- the object to store
IllegalStateException- in the rare circumstance where queue is too full to accept any more requests
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.