Package org.jboss.as.clustering.jgroups.subsystem.ProtocolMetricsHandler

Examples of org.jboss.as.clustering.jgroups.subsystem.ProtocolMetricsHandler.FieldType


            ProtocolMetricsHandler handler = new ProtocolMetricsHandler();

            for (Map.Entry<String, Attribute> entry: handler.findProtocolAttributes(protocolClass).entrySet()) {
                String name = entry.getKey();
                Attribute attribute = entry.getValue();
                FieldType type = FieldType.valueOf(attribute.getType());
                resolver.addDescription(name, attribute.getDescription());
                builder.addMetric(new SimpleAttributeDefinitionBuilder(name, type.getModelType()).setStorageRuntime().build(), handler);
            }

            return builder.build();
        } catch (ClassNotFoundException e) {
            throw JGroupsLogger.ROOT_LOGGER.unableToLoadProtocolClass(className);
View Full Code Here

TOP

Related Classes of org.jboss.as.clustering.jgroups.subsystem.ProtocolMetricsHandler.FieldType

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.