@Test public void getCounter2() { List<SpectatorEndpoint.CounterInfo> datapoints = get("name,counter,:re,a,2,:eq,:and"); Assert.assertEquals(1, datapoints.size()); Assert.assertEquals(3, datapoints.get(0).getTags().size()); Assert.assertEquals(42, datapoints.get(0).getCount()); }
@Override public Object get() { return get(":true"); }
SpectatorEndpoint implements HttpEndpoint { @Override public Object get() { return get(":true"); } }
SpectatorEndpoint implements HttpEndpoint { @Override public Object get() { return get(":true"); } @Inject  SpectatorEndpoint(Registry registry); }
SpectatorEndpoint implements HttpEndpoint { @Override public Object get() { return get(":true"); } @Inject  SpectatorEndpoint(Registry registry); @Override Object get(); @Override Object get(String path); }
SpectatorEndpoint implements HttpEndpoint { @Override public Object get() { return get(":true"); } @Inject  SpectatorEndpoint(Registry registry); @Override Object get(); @Override Object get(String path);  }