public class TopicsCacheImpl extends Object implements CacheInterface<String,ArrayList<String>>
| Modifier and Type | Method and Description |
|---|---|
ArrayList<String> |
get(String key)
Retrieve a value V from the cache
|
static TopicsCacheImpl |
getCacheInstance()
Retrieve the current cache instance object
|
boolean |
insert(String key,
ArrayList<String> value)
Insert an object V with key K into the cache
|
public static TopicsCacheImpl getCacheInstance()
public ArrayList<String> get(String key)
CacheInterfaceget in interface CacheInterface<String,ArrayList<String>>public boolean insert(String key, ArrayList<String> value)
CacheInterfaceinsert in interface CacheInterface<String,ArrayList<String>>Copyright © 2016. All Rights Reserved.