@Test public void groupname_with_tags() { Tags extra_tags = Tags.valueOf(singletonMap("foo", MetricValue.fromStrValue("bar"))); GroupName expected_groupname = GroupName.valueOf(groupname.getPath(), Tags.valueOf(Stream.concat(groupname.getTags().stream(), extra_tags.stream()))); final MBeanGroup mbg = new MBeanGroup(obj_name, new NamedResolverMap(singletonMap(Any2.right("foo"), Any3.create3("bar")))); assertEquals(expected_groupname, mbg.getName()); }
public GroupName getName() { return name_; }
MBeanGroup { public GroupName getName() { return name_; } }
MBeanGroup { public GroupName getName() { return name_; } MBeanGroup(GroupName name, ObjectName obj_name);  MBeanGroup(ObjectName obj_name, NamedResolverMap resolvedMap); }
MBeanGroup { public GroupName getName() { return name_; } MBeanGroup(GroupName name, ObjectName obj_name);  MBeanGroup(ObjectName obj_name, NamedResolverMap resolvedMap); Optional<MetricGroup> getMetrics(MBeanServerConnection conn); GroupName getName(); ObjectName getMonitoredMBeanName(); }
MBeanGroup { public GroupName getName() { return name_; } MBeanGroup(GroupName name, ObjectName obj_name);  MBeanGroup(ObjectName obj_name, NamedResolverMap resolvedMap); Optional<MetricGroup> getMetrics(MBeanServerConnection conn); GroupName getName(); ObjectName getMonitoredMBeanName();  }