|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CacheProvider
Provide cache feature.
Add support to some funny cache library implementing this interface.
| Field Summary | |
|---|---|
static org.slf4j.Logger |
logger
|
| Method Summary | |
|---|---|
void |
clear()
Remove all items from cache. |
Device |
getDevice(String key)
Returns the cached item. |
Device |
getDeviceFromDeviceId(String deviceId)
Returns the cached device, from the deviceId. |
void |
putDevice(String key,
Device value)
Put an item in cache associated to a key. |
| Field Detail |
|---|
static final org.slf4j.Logger logger
| Method Detail |
|---|
Device getDevice(String key)
key - The cached item key.
Device getDeviceFromDeviceId(String deviceId)
key - The cached item device Id.
void putDevice(String key,
Device value)
key - The caching item key.value - The caching item.void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||