org.granite.clustering
Interface GraniteDistributedData
- All Known Implementing Classes:
- SessionGraniteDistributedData
public interface GraniteDistributedData
- Author:
- Franck WOLFF
getCredentials
Object getCredentials()
hasCredentials
boolean hasCredentials()
setCredentials
void setCredentials(Object credentials)
removeCredentials
void removeCredentials()
addChannelId
void addChannelId(String channelId)
hasChannelId
boolean hasChannelId(String channelId)
removeChannelId
void removeChannelId(String channelId)
getChannelIds
Set<String> getChannelIds()
clearChannelIds
void clearChannelIds()
addSubcription
void addSubcription(String channelId,
CommandMessage message)
hasSubcription
boolean hasSubcription(String channelId,
String subscriptionId)
removeSubcription
void removeSubcription(String channelId,
String subscriptionId)
getSubscriptions
List<CommandMessage> getSubscriptions(String channelId)
clearSubscriptions
void clearSubscriptions(String channelId)
getDestinationClientId
String getDestinationClientId(String destination)
setDestinationClientId
void setDestinationClientId(String destination,
String clientId)
getDestinationSubscriptionId
String getDestinationSubscriptionId(String destination)
setDestinationSubscriptionId
void setDestinationSubscriptionId(String destination,
String subscriptionId)
getDestinationSelector
String getDestinationSelector(String destination)
setDestinationSelector
void setDestinationSelector(String destination,
String selector)