public abstract class AbstractAspectWithoutTraceRegistry extends AbstractAspectJProbe
JoinPoint.StaticPart
instead of JoinPoint
in the advices for
performance reasons: If you only need the static information about the join point, you may access the static part of the join point directly with the special variable thisJoinPointStaticPart. Using thisJoinPointStaticPart will avoid the run-time creation of the join point object that may be necessary when using thisJoinPoint directly.This implementation avoids the usage of a trace id. Instead, it passes the thread id to the event records. The combination of the before/after events, the thread id, and the order index is sufficient to reconstruct different traces of the same thread.
Constructor and Description |
---|
AbstractAspectWithoutTraceRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
afterReturningOperation(org.aspectj.lang.JoinPoint.StaticPart jpStaticPart) |
void |
afterThrowing(org.aspectj.lang.JoinPoint.StaticPart jpStaticPart,
java.lang.Throwable th) |
void |
beforeOperation(org.aspectj.lang.JoinPoint.StaticPart jpStaticPart) |
abstract void |
monitoredOperation()
The pointcut for the monitored operations.
|
getter, noGetterAndSetter, notWithinKieker, setter, signatureToLongString
public abstract void monitoredOperation()
public void beforeOperation(org.aspectj.lang.JoinPoint.StaticPart jpStaticPart)
public void afterReturningOperation(org.aspectj.lang.JoinPoint.StaticPart jpStaticPart)
public void afterThrowing(org.aspectj.lang.JoinPoint.StaticPart jpStaticPart, java.lang.Throwable th)
Copyright 2017 Kieker Project, http://kieker-monitoring.net