Examples of ThriftMethodStats


Examples of com.facebook.swift.service.ThriftMethodStats

                                                         ThriftServiceStatsHandler serviceStatsHandler)
    {
        // populate stats map with method names mapped to empty stat objects and tell JMX to export that
        final ConcurrentMap<String, ThriftMethodStats> stats = serviceStatsHandler.getStats();
        for (Map.Entry<String, ThriftMethodProcessor> entry: thriftServiceProcessor.getMethods().entrySet()) {
            stats.putIfAbsent(entry.getValue().getQualifiedName(), new ThriftMethodStats());
        }
        return stats;
    }
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.