Skip to content

Instantly share code, notes, and snippets.

@autoletics
Last active January 24, 2017 22:42
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/13a1906aa67f42dbb0c47734e30b44d5 to your computer and use it in GitHub Desktop.
Save autoletics/13a1906aa67f42dbb0c47734e30b44d5 to your computer and use it in GitHub Desktop.
import org.jinspired.probes.interceptor.*;
import org.jinspired.probes.*;
public final class InterceptorFactory implements ProbesInterceptorFactory {
public void init(Probes.Environment env) {/*..*/}
public ProbesInterceptor create(Probes.Context ctx) {/*..*/}
private static final class Interceptor implements ProbesInterceptor {
public void begin(Probes.Probe p) {/*..*/}
public void end(Probes.Probe p) {/*..*/}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment