[
https://issues.jboss.org/browse/ISPN-1366?page=com.atlassian.jira.plugin....
]
Mircea Markus resolved ISPN-1366.
---------------------------------
Resolution: Out of Date
it is now possible to get the view Id from the EmbeddedCacheManager:
{code:java}
EmbeddedCacheManager.getTransport().getViewId();
{code}
Make it easier to get view id from EmbeddedCacheManager
-------------------------------------------------------
Key: ISPN-1366
URL:
https://issues.jboss.org/browse/ISPN-1366
Project: Infinispan
Issue Type: Enhancement
Components: Core API, RPC
Reporter: Galder ZamarreƱo
Assignee: Galder ZamarreƱo
Fix For: 6.0.0.Final
Getting the view ID from a cache manager is not very straightforward. This is located in
Transport interface but this is not directly accessible EmbeddedCacheManager. At first
glance, the only possible way to do it is by getting a reference to a cache, then getting
the RPCManager from it and the transport associated with it. That's of course assuming
the cache is clustered, otherwise it won't work.
I'checking for other workarounds.
--
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