public class FlashlightProbe extends Object implements ProbeHandle, ProbeInfo
Modifier and Type | Class and Description |
---|---|
static class |
FlashlightProbe.ProbeInvokeState |
Modifier and Type | Field and Description |
---|---|
static LocalStringManagerImpl |
localStrings |
static String |
SELF |
Constructor and Description |
---|
FlashlightProbe(int id,
Class providerClazz,
String moduleProviderName,
String moduleName,
String probeProviderName,
String probeName,
String[] probeParamNames,
Class[] paramTypes,
boolean self,
boolean hidden,
boolean stateful,
boolean statefulReturn,
boolean statefulException,
String[] profileNames) |
public static final String SELF
public static final LocalStringManagerImpl localStrings
public FlashlightProbe(int id, Class providerClazz, String moduleProviderName, String moduleName, String probeProviderName, String probeName, String[] probeParamNames, Class[] paramTypes, boolean self, boolean hidden, boolean stateful, boolean statefulReturn, boolean statefulException, String[] profileNames)
public Method getProbeMethod()
public void setProbeMethod(Method probeMethod)
public boolean addInvoker(ProbeClientInvoker invoker)
public boolean removeInvoker(ProbeClientInvoker invoker)
public void fireProbe(Object[] params)
public ArrayList<FlashlightProbe.ProbeInvokeState> fireProbeBefore(Object[] params)
public void fireProbeAfter(Object returnValue, ArrayList<FlashlightProbe.ProbeInvokeState> states)
public void fireProbeOnException(Object exceptionValue, ArrayList<FlashlightProbe.ProbeInvokeState> states)
public boolean isEnabled()
public String getModuleProviderName()
getModuleProviderName
in interface ProbeInfo
public String getModuleName()
getModuleName
in interface ProbeInfo
public String getProbeProviderName()
getProbeProviderName
in interface ProbeInfo
public String getProbeName()
getProbeName
in interface ProbeInfo
public String[] getProbeParamNames()
getProbeParamNames
in interface ProbeInfo
public Class[] getParamTypes()
getParamTypes
in interface ProbeInfo
public String getProviderJavaMethodName()
getProviderJavaMethodName
in interface ProbeInfo
public void setProviderJavaMethodName(String providerJavaMethodName)
public String getProbeDesc()
public static String getProbeDesc(String moduleProviderName, String moduleName, String probeProviderName, String probeName)
public Class getProviderClazz()
public void setDTraceProviderImpl(Object impl)
public Object getDTraceProviderImpl()
public Method getDTraceMethod()
getDTraceMethod
in interface ProbeInfo
public void setDTraceMethod(Method m)
public boolean hasSelf()
public boolean isHidden()
public void setParent(FlashlightProbe parent)
public boolean getStateful()
public boolean getStatefulReturn()
public boolean getStatefulException()
public String[] getProfileNames()
public int getInvokerCount()
Copyright © 2019. All rights reserved.