Examples of CacheContainer


Examples of org.infinispan.manager.CacheContainer

      assertEquals(2, tcpConnectionFactory.getServers().size());
   }

   @Test(dependsOnMethods = "testTwoMembers")
   public void testAddNewServer() {
      CacheContainer cm3 = TestCacheManagerFactory.createClusteredCacheManager(config);
      registerCacheManager(cm3);
      hotRodServer3 = TestHelper.startHotRodServer(manager(2));
      manager(2).getCache();

      waitForClusterToForm();
View Full Code Here

Examples of org.jboss.as.clustering.infinispan.CacheContainer

        CacheContainerMetric metric = CacheContainerMetric.forName(name);

        if (metric == null) {
            context.getFailureDescription().set(InfinispanLogger.ROOT_LOGGER.unknownMetric(name));
        } else {
            CacheContainer container = ServiceContainerHelper.findValue(context.getServiceRegistry(false), EmbeddedCacheManagerService.getServiceName(containerName));
            if (container != null) {
                ModelNode result = metric.getValue(container);
                context.getResult().set((result != null) && result.isDefined() ? result : new ModelNode("N/A"));
            }
        }
View Full Code Here

Examples of org.jboss.as.console.client.shared.subsys.infinispan.model.CacheContainer

        ToolButton clearBtn = new ToolButton(Console.CONSTANTS.subsys_infinispan_cache_container_clear_caches(),
                    new ClickHandler() {
                        @Override
                        public void onClick(ClickEvent clickEvent) {
                            final CacheContainer cacheContainer = (CacheContainer) ((SingleSelectionModel)
                                    table.getSelectionModel()).getSelectedObject();
                            cacheContainerPresenter.clearCaches(cacheContainer.getName());
                        }
                    });

        // standalone only
        if (Console.getBootstrapContext().isStandalone())
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.