public interface ICache
| Modifier and Type | Method and Description |
|---|---|
void |
delete(MetaInformation meta,
String table,
String key)
delete an element in the cache using the key
|
boolean |
existsData(MetaInformation meta,
String table,
String id,
String family) |
Map<String,byte[]> |
getFamilyData(MetaInformation meta,
String table,
String key,
String family)
Return an element of the cache using the key
|
void |
insertFamilyData(MetaInformation meta,
String table,
String key,
String family,
Map<String,byte[]> familyData)
To insert an element in the cache
|
void |
reset()
delete all the element in the cache
|
long |
size()
return the the approximate number of entries in the cache
|
void delete(MetaInformation meta, String table, String key) throws CacheException
CacheExceptionvoid insertFamilyData(MetaInformation meta, String table, String key, String family, Map<String,byte[]> familyData) throws CacheException
CacheExceptionMap<String,byte[]> getFamilyData(MetaInformation meta, String table, String key, String family) throws CacheException
CacheExceptionlong size() throws CacheException
CacheExceptionvoid reset()
throws CacheException
CacheExceptionboolean existsData(MetaInformation meta, String table, String id, String family) throws CacheException
CacheExceptionCopyright © 2016. All Rights Reserved.