org.granite.clustering
Interface DistributedData


public interface DistributedData

Author:
Franck WOLFF

Method Summary
 void addChannelId(String channelId, String channelFactoryClassName)
           
 void addSubcription(String channelId, CommandMessage message)
           
 void clearChannelIds()
           
 void clearSubscriptions(String channelId)
           
 String getChannelFactoryClassName(String channelId)
           
 Set<String> getChannelIds()
           
 Object getCredentials()
           
 String getCredentialsCharset()
           
 String getDestinationClientId(String destination)
           
 Object[] getDestinationDataSelectors(String destination)
           
 String getDestinationSelector(String destination)
           
 String getDestinationSubscriptionId(String destination)
           
 List<CommandMessage> getSubscriptions(String channelId)
           
 boolean hasChannelId(String channelId)
           
 boolean hasCredentials()
           
 boolean hasCredentialsCharset()
           
 boolean hasSubcription(String channelId, String subscriptionId)
           
 void removeChannelId(String channelId)
           
 void removeCredentials()
           
 void removeCredentialsCharset()
           
 void removeSubcription(String channelId, String subscriptionId)
           
 void setCredentials(Object credentials)
           
 void setCredentialsCharset(String credentialsCharset)
           
 void setDestinationClientId(String destination, String clientId)
           
 void setDestinationDataSelectors(String destination, Object[] selectors)
           
 void setDestinationSelector(String destination, String selector)
           
 void setDestinationSubscriptionId(String destination, String subscriptionId)
           
 

Method Detail

getCredentials

Object getCredentials()

hasCredentials

boolean hasCredentials()

setCredentials

void setCredentials(Object credentials)

removeCredentials

void removeCredentials()

getCredentialsCharset

String getCredentialsCharset()

hasCredentialsCharset

boolean hasCredentialsCharset()

setCredentialsCharset

void setCredentialsCharset(String credentialsCharset)

removeCredentialsCharset

void removeCredentialsCharset()

addChannelId

void addChannelId(String channelId,
                  String channelFactoryClassName)

hasChannelId

boolean hasChannelId(String channelId)

getChannelFactoryClassName

String getChannelFactoryClassName(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)

getDestinationDataSelectors

Object[] getDestinationDataSelectors(String destination)

setDestinationDataSelectors

void setDestinationDataSelectors(String destination,
                                 Object[] selectors)

getDestinationSelector

String getDestinationSelector(String destination)

setDestinationSelector

void setDestinationSelector(String destination,
                            String selector)