public class SubscriptionHelperImpl extends java.lang.Object implements SubscriptionHelper
| Constructor and Description |
|---|
SubscriptionHelperImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<FeedMarketID,com.marketfactory.zerogc.api.SubscribeMessage> |
getCopyOfStickySubscriptions() |
void |
handleStop() |
boolean |
isClearSubscriptionsOnStop() |
boolean |
isStickySubscriptionsEnabled() |
void |
remove(int feedID,
int marketID) |
void |
removeAll() |
void |
setClearSubscriptionsOnStop(boolean clearSubscriptionsOnStop) |
void |
setStickyEnabled(boolean stickyEnabled) |
void |
updateWith(com.marketfactory.zerogc.api.SubscribeMessage message) |
public void setStickyEnabled(boolean stickyEnabled)
setStickyEnabled in interface SubscriptionHelperpublic void setClearSubscriptionsOnStop(boolean clearSubscriptionsOnStop)
setClearSubscriptionsOnStop in interface SubscriptionHelperpublic void handleStop()
handleStop in interface SubscriptionHelperpublic java.util.Map<FeedMarketID,com.marketfactory.zerogc.api.SubscribeMessage> getCopyOfStickySubscriptions()
getCopyOfStickySubscriptions in interface SubscriptionHelperpublic boolean isStickySubscriptionsEnabled()
isStickySubscriptionsEnabled in interface SubscriptionHelperpublic boolean isClearSubscriptionsOnStop()
isClearSubscriptionsOnStop in interface SubscriptionHelperpublic void updateWith(com.marketfactory.zerogc.api.SubscribeMessage message)
updateWith in interface SubscriptionHelperpublic void remove(int feedID,
int marketID)
remove in interface SubscriptionHelperpublic void removeAll()
removeAll in interface SubscriptionHelper