[arquillian-issues] [JBoss JIRA] Created: (ARQ-513) Implement injectable Infinispan server descriptor for querying information about server

Martin Gencur (JIRA) jira-events at lists.jboss.org
Fri Jul 15 04:38:23 EDT 2011


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