Examples of ThriftCounterGroup


Examples of org.apache.hadoop.thriftfs.jobtracker.api.ThriftCounterGroup

              new ArrayList<String>(jcs.getGroupNames());
            ret =
                new ArrayList<ThriftCounterGroup>(groupNames.size());
            for (String s : groupNames){
                Counters.Group g = jcs.getGroup(s);
                ThriftCounterGroup tcg = toThrift(g);
                ret.add(tcg);
            }
          }
          return ret;
        }
View Full Code Here

Examples of org.apache.hadoop.thriftfs.jobtracker.api.ThriftCounterGroup

          }
          return ret;
        }

        public static ThriftCounterGroup toThrift(Group g) {
            ThriftCounterGroup ret = new ThriftCounterGroup();
            ret.setName(g.getName());
            ret.setDisplayName(g.getDisplayName());
            ret.counters = new HashMap<String, ThriftCounter>();
            for (Counters.Counter c : g) {
                ret.counters.put(c.getDisplayName(), toThrift(c));
            }
            return ret;
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.