1.LoadingCache<String,List<~>> cache= CashBuilder.newBuilder().expireAfterWrite(1,TimeUnit.DAYS).build(new CacheLoader<String,List<~>>(){
@override
pubilc List<~> load(String key) throws Exception{
if(key.equals(k)){
return dbaccess;}
}
});
List<~> value ——》return cache.get(key);