public abstract class PubSubRsyncImpl extends Object implements IPubSub, MemdbRsyncQueue
| Modifier and Type | Field and Description |
|---|---|
protected MemdbRsyncService |
memdbRsyncService |
TYPE_REMOVE, TYPE_SET| Constructor and Description |
|---|
PubSubRsyncImpl(Redis redis,
String channel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(String type,
String key,
String value,
boolean isMySelf) |
void |
destroy() |
void |
init() |
boolean |
publish(String message) |
protected MemdbRsyncService memdbRsyncService
public void init()
init in interface MemdbRsyncQueuepublic void destroy()
destroy in interface MemdbRsyncQueuepublic boolean publish(String message)
public boolean add(String type, String key, String value, boolean isMySelf)
add in interface MemdbRsyncQueueCopyright © 2014–2016. All rights reserved.