KEYTYPE - public class MemdbRsyncImpl extends MemdbLruImpl implements MemdbRsyncQueue
| Modifier and Type | Field and Description |
|---|---|
protected MemdbRsyncService |
memdbRsyncService |
TYPE_REMOVE, TYPE_SET| Constructor and Description |
|---|
MemdbRsyncImpl(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String type,
String key,
String value,
boolean isMySelf) |
void |
destroy() |
void |
init() |
boolean |
remove(String key) |
boolean |
set(String key,
String value) |
void |
setChannel(String channel) |
void |
setRedis(Redis redis) |
protected MemdbRsyncService memdbRsyncService
public void setRedis(Redis redis)
public void setChannel(String channel)
public void init()
init in interface MemdbRsyncQueuepublic void destroy()
destroy in interface MemdbRsyncQueuepublic boolean remove(String key)
public boolean add(String type, String key, String value, boolean isMySelf)
add in interface MemdbRsyncQueueCopyright © 2014–2016. All rights reserved.