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