public class MessageCacheControl
extends java.lang.Object
构造器和说明 |
---|
MessageCacheControl() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
delete(java.lang.String key) |
static MessageCacheControl |
getInstance() |
static void |
injectCache(Message message) |
static void |
injectCacheToDifTerminal(long terminalType,
Message message) |
static void |
registerMessageCache(MessageDataAccessObject messageDAO) |
boolean |
save(Message message) |
boolean |
updateToasted(java.lang.String key) |
public static MessageCacheControl getInstance()
public static void registerMessageCache(MessageDataAccessObject messageDAO)
public static void injectCache(Message message) throws java.lang.Exception
java.lang.Exception
public static void injectCacheToDifTerminal(long terminalType, Message message) throws java.lang.Exception
java.lang.Exception
public boolean save(Message message) throws java.lang.Exception
java.lang.Exception
public boolean delete(java.lang.String key) throws java.lang.Exception
java.lang.Exception
public boolean updateToasted(java.lang.String key) throws java.lang.Exception
java.lang.Exception