public class RedisMemoryController extends Object implements IMemoryController
| Constructor and Description |
|---|
RedisMemoryController(String redisServers) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddMemoryCache(MemoryCacheMetaInfo meta) |
void |
AddNeverExpiredMemoryCache(String key,
Operation operation) |
void |
ClearCache(String key) |
String |
GetMemory(String key) |
public RedisMemoryController(String redisServers)
public void AddNeverExpiredMemoryCache(String key, Operation operation) throws Exception
AddNeverExpiredMemoryCache in interface IMemoryControllerExceptionpublic void AddMemoryCache(MemoryCacheMetaInfo meta) throws Exception
AddMemoryCache in interface IMemoryControllerExceptionpublic String GetMemory(String key)
GetMemory in interface IMemoryControllerpublic void ClearCache(String key)
ClearCache in interface IMemoryControllerCopyright © 2016. All rights reserved.