com.github.bingoohuang.blackcat.instrument.callback.BlackcatJavaAgentInterceptorAdapter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blackcat-instrument Show documentation
Show all versions of blackcat-instrument Show documentation
agent that monitor a machine's memory, cpu, processes and etc.
The newest version!
package com.github.bingoohuang.blackcat.instrument.callback;
import org.objectweb.asm.tree.ClassNode;
import org.objectweb.asm.tree.MethodNode;
public class BlackcatJavaAgentInterceptorAdapter extends BlackcatJavaAgentInterceptor {
@Override
public void init(String arg) {
}
@Override
public boolean interceptClass(ClassNode classNode, String className) {
return true;
}
@Override
public boolean interceptMethod(ClassNode cn, MethodNode mn) {
return true;
}
@Override
protected void onStart(BlackcatMethodRt rt) {
}
@Override
protected void onThrowableCaught(BlackcatMethodRt rt) {
}
@Override
protected void onThrowableUncaught(BlackcatMethodRt rt) {
}
@Override
protected void onFinish(BlackcatMethodRt rt) {
}
}