Package org.jboss.as.clustering.infinispan

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

TOP

Related Classes of org.jboss.as.clustering.infinispan.CacheContainer

Copyright © 2018 www.massapicom. 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.