[infinispan-issues] [JBoss JIRA] (ISPN-3897) Listener with @ViewChanged annotation for RemoteCacheManager.
Tomas Tomas (JIRA)
issues at jboss.org
Thu Jan 16 03:24:33 EST 2014
Tomas Tomas created ISPN-3897:
---------------------------------
Summary: 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
Assignee: Mircea Markus
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list