public interface UserMessageCache
Modifier and Type | Method and Description |
---|---|
List<Message> |
getAndRemove(String key)
Gets the value identified by the given key and removes it from the cache.
|
void |
put(String key,
List<Message> messages)
Puts a value inside the cache identified by the key.
|
Copyright © 2018. All rights reserved.