[infinispan-issues] [JBoss JIRA] (ISPN-1366) Make it easier to get view id from EmbeddedCacheManager

Mircea Markus (JIRA) jira-events at lists.jboss.org
Mon Jul 1 07:05:20 EDT 2013


     [ https://issues.jboss.org/browse/ISPN-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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



More information about the infinispan-issues mailing list