Skip to content

Instantly share code, notes, and snippets.

@autoletics
Last active January 24, 2017 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save autoletics/795514005ead3873cec58f359acf7889 to your computer and use it in GitHub Desktop.
Save autoletics/795514005ead3873cec58f359acf7889 to your computer and use it in GitHub Desktop.
import org.jinspired.probes.spi.*;
import org.jinspired.probes.*;
import java.lang.reflect.Method;
public final class ProviderFactory implements ProbesProviderFactory {
public ProbesProvider create() {/*..*/}
private static final class Provider implements ProbesProvider {
public void init() {/*..*/}
public Probes.Context context() {/*..*/}
public Probes.Name name(String s) {/*..*/}
public Probes.Name name(Class c) {/*..*/}
public Probes.Name name(Method m) {/*..*/}
public Probes.Name parse(String s) {/*..*/}
public Probes.Label label(String s) {/*..*/}
public Probes.Meter meter(Probes.Name n) {/*..*/}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment