BlockingRetainedMessageStore or AsyncRetainedMessageStore instead.@Deprecated public interface RetainedMessageStore
| Modifier and Type | Method and Description |
|---|---|
void |
addOrReplace(RetainedMessage retainedMessage)
Deprecated.
Use
BlockingRetainedMessageStore or AsyncRetainedMessageStore instead. |
void |
clear()
Deprecated.
Use
BlockingRetainedMessageStore or AsyncRetainedMessageStore instead. |
boolean |
contains(RetainedMessage retainedMessage)
Deprecated.
Use
BlockingRetainedMessageStore or AsyncRetainedMessageStore instead. |
com.google.common.base.Optional<RetainedMessage> |
getRetainedMessage(String topic)
Deprecated.
Use RetainedMessageStoreLocal or RetainedMessageStoreCluster instead.
|
Set<RetainedMessage> |
getRetainedMessages()
Deprecated.
|
void |
remove(RetainedMessage retainedMessage)
Deprecated.
Use
BlockingRetainedMessageStore or AsyncRetainedMessageStore instead. |
void |
remove(String topic)
Deprecated.
Use
BlockingRetainedMessageStore or AsyncRetainedMessageStore instead. |
int |
size()
Deprecated.
Use
BlockingRetainedMessageStore or AsyncRetainedMessageStore instead. |
@Deprecated Set<RetainedMessage> getRetainedMessages()
@Deprecated com.google.common.base.Optional<RetainedMessage> getRetainedMessage(String topic)
topic - a topicOptional
instance with an empty reference@Deprecated void remove(String topic)
null values are ignored.
If there isn't any retained message on the topic yet, nothing will happen.topic - from which the message should be removed@Deprecated void remove(RetainedMessage retainedMessage)
null values are ignored.
If the given retained message doesn't exist, nothing will happen.retainedMessage - which should be removed@Deprecated void clear()
@Deprecated void addOrReplace(RetainedMessage retainedMessage)
retainedMessage - which should be added or replaced@Deprecated boolean contains(RetainedMessage retainedMessage)
retainedMessage - to check if it's already in the message store@Deprecated int size()
Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.