[infinispan-issues] [JBoss JIRA] (ISPN-3897) Listener with @ViewChanged annotation for RemoteCacheManager.
Tristan Tarrant (JIRA)
issues at jboss.org
Mon Jan 12 09:17:26 EST 2015
[ https://issues.jboss.org/browse/ISPN-3897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tristan Tarrant reassigned ISPN-3897:
-------------------------------------
Assignee: (was: Mircea Markus)
> Listener with @ViewChanged annotation for RemoteCacheManager.
> -------------------------------------------------------------
>
> Key: ISPN-3897
> URL: https://issues.jboss.org/browse/ISPN-3897
> Project: Infinispan
> Issue Type: Feature Request
> Components: Listeners
> Reporter: Tomas Tomas
> Priority: Optional
>
> Create Listener with @ViewChanged annotation for RemoteCacheManager.
> Similarly like it is done for embedded Infinispan. There is @ViewChanged annotation which can be used when cluster topology is changed.
> For remote cache:
> RemoteCacheManager cacheContainer = new RemoteCacheManager(resource, true);
> cacheManager.addListener(new CacheManagerListener());
> @Listener
> public class CacheManagerListener {
> @CacheStarted
> }
>
> @CacheStopped
> }
>
> @ViewChanged
> public void viewChanged(ViewChangedEvent event) {
> }
> }
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the infinispan-issues
mailing list