[arquillian-issues] [JBoss JIRA] Commented: (ARQ-513) Implement injectable Infinispan server descriptor for querying information about server
Martin Gencur (JIRA)
jira-events at lists.jboss.org
Wed Jul 20 08:34:23 EDT 2011
[ https://issues.jboss.org/browse/ARQ-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615407#comment-12615407 ]
Martin Gencur commented on ARQ-513:
-----------------------------------
Something like that. The injected descriptor will be able to retrieve information both from infinispan-container-managed project which can start standalone infinispan and from Infinispan embedded into JBossAS 7 (Enterprise Data Grid). When user wants to get information from standalone infinispan, they will add a dependency on infinispan-container-managed and have to define ispnHome in arquillian.xml. The implementation will then decide based on ispnHome prop. presence whether it is standalone or JBossAS (JBossAS 7 doesn't have such property). If user want to use JBossAS, he will add a dependency on jboss-as-arquillian-container-{managed|remote}. The approaches then differ only in JMX coordinates for one or the other server.
> Implement injectable Infinispan server descriptor for querying information about server
> ---------------------------------------------------------------------------------------
>
> Key: ARQ-513
> URL: https://issues.jboss.org/browse/ARQ-513
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Infinispan Containers
> Reporter: Martin Gencur
> Assignee: Martin Gencur
>
> It should be possible to inject an Infinispan server descriptor through which one can get information about hostnames, port numbers and various statistics around individual caches running in those servers.
> Example use:
> @Infinispan(container="container1")
> InfinispanInfo inf1;
> ...
> inf1.getInstalledEndpoints() [hostname+port couples]
> inf1.getDefaultCacheManager().getStatistics()
> inf1.getCache("cache_name").getStatistics()
> inf1.getCache("cache_name").getStatistics(CacheStatistics.EVICTIONS)
> ...
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list