Package com.adobe.granite.offloading.api
Interface OffloadingTopicManager
- 
@Deprecated public interface OffloadingTopicManagerDeprecated.As of AEM 6.5, see https://jira.corp.adobe.com/browse/CQ-4256396TheOffloadingTopicManagermanages instance blacklisting / whitelisting for specifictopics. Furthermore, it provides a view of the instances grouped by topic. Clients outside offloading must not use this interface. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidconfigureInstance(java.lang.String slingID, java.util.Map<TopicConfigurationAction,java.util.Set<java.lang.String>> configuration)Deprecated.Configures the topics an instance will process using a configuration map structured in the following way:java.util.Set<java.lang.String>getBlacklistedTopics(InstanceDescription instance)Deprecated.Retrieves the blacklisted topics from an instance.java.util.Map<java.lang.String,TopicInstancesHolder>getInstances()Deprecated.Provides aMapview of all the instances from thetopology.java.util.Set<java.lang.String>getRegisteredTopics(InstanceDescription instance)Deprecated.Retrieves the topics registered for processing from an instance.java.util.Set<java.lang.String>getWhitelistedTopics(InstanceDescription instance)Deprecated.Retrieves the whitelisted topics from an instance. 
 - 
 
- 
- 
Method Detail
- 
getInstances
java.util.Map<java.lang.String,TopicInstancesHolder> getInstances()
Deprecated.Provides aMapview of all the instances from thetopology.- Returns:
 - a map of instances grouped by topic
 
 
- 
configureInstance
void configureInstance(java.lang.String slingID, java.util.Map<TopicConfigurationAction,java.util.Set<java.lang.String>> configuration)Deprecated.Configures the topics an instance will process using a configuration map structured in the following way:
- 
         
key- one of:exclusive,enable,disable(for more details seeTopicConfigurationAction - 
         
value- a set of topic strings 
The topics marked as
exclusivewill be added to the exclusive whitelist. The topics marked otherwise will just be added / removed from the blacklist.- Parameters:
 slingID- theslingIDof the instance to be configuredconfiguration- a configuration map.- Throws:
 OffloadingException- if the configuration operation fails
 - 
         
 
- 
getRegisteredTopics
java.util.Set<java.lang.String> getRegisteredTopics(InstanceDescription instance)
Deprecated.Retrieves the topics registered for processing from an instance.- Parameters:
 instance- the instance- Returns:
 - a set of topics
 
 
- 
getWhitelistedTopics
java.util.Set<java.lang.String> getWhitelistedTopics(InstanceDescription instance)
Deprecated.Retrieves the whitelisted topics from an instance.- Parameters:
 instance- the instance- Returns:
 - a set of topics
 
 
- 
getBlacklistedTopics
java.util.Set<java.lang.String> getBlacklistedTopics(InstanceDescription instance)
Deprecated.Retrieves the blacklisted topics from an instance.- Parameters:
 instance- the instance- Returns:
 - a set of topics
 
 
 - 
 
 -