Index

A B C D E F G H I J K L M N P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

adopt(FlowContext) - Static method in class com.fayupable.logged.spring.aspect.FlowContextCarrier
Makes context the active FlowContext on the calling thread and returns a Runnable that undoes this, restoring whatever context was active before this call.
apply(RequestTemplate) - Method in class com.fayupable.logged.spring.http.FeignTraceRequestInterceptor
Writes the current call chain's trace headers onto template.

B

baseline() - Method in class com.fayupable.logged.benchmarks.LoggedAspectBenchmark
 
baseline_AverageTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_baseline_jmhTest
 
baseline_avgt_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, LoggedAspectBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_baseline_jmhTest
 
baseline_sample_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, SampleBuffer, int, long, int, LoggedAspectBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_baseline_jmhTest
 
baseline_SampleTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_baseline_jmhTest
 
baseline_SingleShotTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_baseline_jmhTest
 
baseline_ss_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, int, LoggedAspectBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_baseline_jmhTest
 
baseline_Throughput(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_baseline_jmhTest
 
baseline_thrpt_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, LoggedAspectBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_baseline_jmhTest
 

C

caller() - Element in annotation interface com.fayupable.logged.core.annotation.Logged
How an authenticated caller's identity is written for this method, overriding the application-wide setting.
CALLER_DEVICE - Static variable in class com.fayupable.logged.spring.aspect.LoggedMdcKeys
A coarse description of the caller's device, the same value reported as MethodInvocationEvent.callerDevice().
CALLER_IP - Static variable in class com.fayupable.logged.spring.aspect.LoggedMdcKeys
The caller's IP address, the same value reported as MethodInvocationEvent.callerIp().
callerDevice() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the callerDevice record component.
callerIdentity() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the callerIdentity record component.
CallerIdentityResolver - Interface in com.fayupable.logged.spring.security
Application-provided strategy that turns an authenticated principal into the identifier written as the caller of a @Logged invocation, used when the caller mode is CallerMode.CUSTOM.
CallerInfoOutputBenchmark - Class in com.fayupable.logged.benchmarks
Measures the paths that write caller information as text: the SLF4J summary line and the MDC entries pushed while a @Logged method with includeIp/includeDevice runs.
CallerInfoOutputBenchmark() - Constructor for class com.fayupable.logged.benchmarks.CallerInfoOutputBenchmark
 
CallerInfoOutputBenchmark_jmhType - Class in com.fayupable.logged.benchmarks.jmh_generated
 
CallerInfoOutputBenchmark_jmhType() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType
 
CallerInfoOutputBenchmark_jmhType_B1 - Class in com.fayupable.logged.benchmarks.jmh_generated
 
CallerInfoOutputBenchmark_jmhType_B1() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B1
 
CallerInfoOutputBenchmark_jmhType_B2 - Class in com.fayupable.logged.benchmarks.jmh_generated
 
CallerInfoOutputBenchmark_jmhType_B2() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
CallerInfoOutputBenchmark_jmhType_B3 - Class in com.fayupable.logged.benchmarks.jmh_generated
 
CallerInfoOutputBenchmark_jmhType_B3() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B3
 
CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest - Class in com.fayupable.logged.benchmarks.jmh_generated
 
CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest
 
CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest - Class in com.fayupable.logged.benchmarks.jmh_generated
 
CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest
 
callerIp() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the callerIp record component.
CallerMode - Enum Class in com.fayupable.logged.core.annotation
Controls how an authenticated caller's identity is written into an invocation event, for applications where the authenticated name is personal data (for example an e-mail address used as the username, which is personal data under GDPR / KVKK).
capture() - Static method in class com.fayupable.logged.spring.aspect.FlowContextCarrier
Returns the FlowContext currently active on this thread, or null if no @Logged call is in progress on this thread.
CLASS_NAME - Static variable in class com.fayupable.logged.spring.aspect.LoggedMdcKeys
The class name resolved for the currently executing invocation, the same value reported as MethodInvocationEvent.className().
className() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the className record component.
className() - Method in record class com.fayupable.logged.test.RecordedMetric
Returns the value of the className record component.
clear() - Method in class com.fayupable.logged.test.InMemoryInvocationEventEmitter
Discards every event recorded so far, so this instance can be reused across test methods without leaking state between them.
clear() - Method in class com.fayupable.logged.test.InMemoryMetricsRecorder
Discards every metric recorded so far, so this instance can be reused across test methods without leaking state between them.
ClientInfo() - Constructor for class com.fayupable.logged.spring.config.LoggedProperties.ClientInfo
 
com.fayupable.logged.benchmarks - package com.fayupable.logged.benchmarks
 
com.fayupable.logged.benchmarks.jmh_generated - package com.fayupable.logged.benchmarks.jmh_generated
 
com.fayupable.logged.core.annotation - package com.fayupable.logged.core.annotation
 
com.fayupable.logged.core.model - package com.fayupable.logged.core.model
 
com.fayupable.logged.core.port - package com.fayupable.logged.core.port
 
com.fayupable.logged.spring.aspect - package com.fayupable.logged.spring.aspect
 
com.fayupable.logged.spring.config - package com.fayupable.logged.spring.config
 
com.fayupable.logged.spring.emitter - package com.fayupable.logged.spring.emitter
 
com.fayupable.logged.spring.guard - package com.fayupable.logged.spring.guard
 
com.fayupable.logged.spring.http - package com.fayupable.logged.spring.http
 
com.fayupable.logged.spring.kafka - package com.fayupable.logged.spring.kafka
 
com.fayupable.logged.spring.metrics - package com.fayupable.logged.spring.metrics
 
com.fayupable.logged.spring.rabbitmq - package com.fayupable.logged.spring.rabbitmq
 
com.fayupable.logged.spring.security - package com.fayupable.logged.spring.security
 
com.fayupable.logged.spring.support - package com.fayupable.logged.spring.support
 
com.fayupable.logged.test - package com.fayupable.logged.test
 
count() - Method in class com.fayupable.logged.test.InMemoryInvocationEventEmitter
Returns the number of events recorded so far.
count() - Method in class com.fayupable.logged.test.InMemoryMetricsRecorder
Returns the number of metrics recorded so far.
CUSTOM - Enum constant in enum class com.fayupable.logged.core.annotation.CallerMode
Use an application-provided resolver (for example logged-spring's CallerIdentityResolver bean) to produce the identity, typically an internal user id instead of the login name.

D

decorate(Runnable) - Method in class com.fayupable.logged.spring.aspect.FlowContextTaskDecorator
Captures the calling thread's current FlowContext and MDC context map, and returns a wrapped task that restores both before running runnable and restores the executor thread's own previous state again afterward, regardless of whether runnable completes normally or throws.
decorate(Runnable) - Method in class com.fayupable.logged.spring.security.RequestAttributesTaskDecorator
Captures the calling thread's current RequestAttributes and returns a wrapped task that restores them before running runnable and restores the executor thread's own previous request attributes again afterward, regardless of whether runnable completes normally or throws.
decorate(Runnable) - Method in class com.fayupable.logged.spring.security.SecurityContextTaskDecorator
Captures the calling thread's current SecurityContext and returns a wrapped task that restores it before running runnable and restores the executor thread's own previous security context again afterward, regardless of whether runnable completes normally or throws.
DEFAULT - Enum constant in enum class com.fayupable.logged.core.annotation.CallerMode
Use the application-wide setting (for example logged.client-info.caller in logged-spring).
depth() - Method in record class com.fayupable.logged.core.model.FlowContext
Returns the value of the depth record component.
depth() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the depth record component.
DEPTH - Static variable in class com.fayupable.logged.spring.aspect.LoggedMdcKeys
The FlowContext.depth() of the currently executing call within its chain, as a string.
DEPTH_HEADER - Static variable in class com.fayupable.logged.spring.http.HttpTraceHeaderCarrier
 
DeviceInfoResolver - Class in com.fayupable.logged.spring.security
Turns a User-Agent header into a coarse "os / browser" description such as "Windows / Chrome 129", for @Logged(includeDevice = true).
doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class com.fayupable.logged.spring.http.HttpTraceServletFilter
Reads the incoming request's trace headers, if present, and runs the rest of the filter chain with them adopted as the active call chain for this thread, restoring this thread's previous context again afterward, regardless of whether the chain completes normally or throws.
durationNanos() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the durationNanos record component.
durationNanos() - Method in record class com.fayupable.logged.test.RecordedMetric
Returns the value of the durationNanos record component.

E

EmailMasker - Class in com.fayupable.logged.spring.security
Masks e-mail-like values for CallerMode.MASKED.
emit(MethodInvocationEvent) - Method in interface com.fayupable.logged.core.port.InvocationEventEmitter
Publishes the given invocation event to whatever sink this implementation targets.
emit(MethodInvocationEvent) - Method in class com.fayupable.logged.core.port.NoOpInvocationEventEmitter
 
emit(MethodInvocationEvent) - Method in class com.fayupable.logged.spring.emitter.JsonInvocationEventEmitter
 
emit(MethodInvocationEvent) - Method in class com.fayupable.logged.spring.emitter.Slf4jInvocationEventEmitter
 
emit(MethodInvocationEvent) - Method in class com.fayupable.logged.test.InMemoryInvocationEventEmitter
 
equals(Object) - Method in record class com.fayupable.logged.core.model.FlowContext
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.fayupable.logged.test.RecordedMetric
Indicates whether some other object is "equal to" this one.
events() - Method in class com.fayupable.logged.test.InMemoryInvocationEventEmitter
Returns every event recorded so far, in emission order.
exceptionType() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the exceptionType record component.
exceptionType() - Method in record class com.fayupable.logged.test.RecordedMetric
Returns the value of the exceptionType record component.
execute(Runnable) - Method in class com.fayupable.logged.spring.aspect.FlowContextPropagatingExecutor
Captures the calling thread's current FlowContext and MDC context map, and submits a wrapped task to the delegate executor that restores both before running command and restores the executor thread's own previous state again afterward, regardless of whether command completes normally or throws.
execute(Runnable) - Method in class com.fayupable.logged.spring.security.RequestAttributesPropagatingExecutor
Captures the calling thread's current RequestAttributes and submits a wrapped task to the delegate executor that restores them before running command and restores the executor thread's own previous request attributes again afterward, regardless of whether command completes normally or throws.
execute(Runnable) - Method in class com.fayupable.logged.spring.security.SecurityContextPropagatingExecutor
Captures the calling thread's current SecurityContext and submits a wrapped task to the delegate executor that restores it before running command and restores the executor thread's own previous security context again afterward, regardless of whether command completes normally or throws.

F

FeignTraceRequestInterceptor - Class in com.fayupable.logged.spring.http
Feign RequestInterceptor that writes the current @Logged call chain's trace id and depth into an outgoing Feign client request's headers, via HttpTraceHeaderCarrier.
FeignTraceRequestInterceptor() - Constructor for class com.fayupable.logged.spring.http.FeignTraceRequestInterceptor
 
filter(ClientRequest, ExchangeFunction) - Method in class com.fayupable.logged.spring.http.HttpTraceExchangeFilterFunction
Writes the current call chain's trace headers onto a copy of request before delegating to next.
FlowContext - Record Class in com.fayupable.logged.core.model
Tracks the position of the current method invocation within a chain of nested @Logged calls on the same thread.
FlowContext(String, int) - Constructor for record class com.fayupable.logged.core.model.FlowContext
Creates an instance of a FlowContext record class.
FlowContextCarrier - Class in com.fayupable.logged.spring.aspect
The sanctioned public entry point for reading and writing this thread's active FlowContext from outside the aspect package.
FlowContextPropagatingExecutor - Class in com.fayupable.logged.spring.aspect
Executor decorator that carries the submitting thread's FlowContext and MDC context over to whatever thread actually runs the submitted task.
FlowContextPropagatingExecutor(Executor) - Constructor for class com.fayupable.logged.spring.aspect.FlowContextPropagatingExecutor
Wraps delegate so that every task submitted through this executor carries the submitting thread's FlowContext into whichever thread delegate actually runs it on.
FlowContextTaskDecorator - Class in com.fayupable.logged.spring.aspect
TaskDecorator that carries the submitting thread's FlowContext and MDC context into whatever thread Spring's @Async infrastructure actually runs the task on.
FlowContextTaskDecorator() - Constructor for class com.fayupable.logged.spring.aspect.FlowContextTaskDecorator
 

G

getCaller() - Method in class com.fayupable.logged.spring.config.LoggedProperties.ClientInfo
 
getClientInfo() - Method in class com.fayupable.logged.spring.config.LoggedProperties
 
getMdc() - Method in class com.fayupable.logged.spring.config.LoggedProperties
 
getMetrics() - Method in class com.fayupable.logged.spring.config.LoggedProperties
 

H

hashCode() - Method in record class com.fayupable.logged.core.model.FlowContext
Returns a hash code value for this object.
hashCode() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns a hash code value for this object.
hashCode() - Method in record class com.fayupable.logged.test.RecordedMetric
Returns a hash code value for this object.
httpRequestClientInfoAdapter(LoggedProperties) - Method in class com.fayupable.logged.spring.config.LoggedAutoConfiguration
 
HttpRequestClientInfoAdapter - Class in com.fayupable.logged.spring.security
IClientInfoPort implementation that resolves the caller purely from the current HTTP request's client IP address, via RequestClientIpResolver.
HttpRequestClientInfoAdapter(boolean) - Constructor for class com.fayupable.logged.spring.security.HttpRequestClientInfoAdapter
 
HttpTraceClientHttpRequestInterceptor - Class in com.fayupable.logged.spring.http
ClientHttpRequestInterceptor that writes the current @Logged call chain's trace id and depth into an outgoing RestTemplate request's headers, via HttpTraceHeaderCarrier.
HttpTraceClientHttpRequestInterceptor() - Constructor for class com.fayupable.logged.spring.http.HttpTraceClientHttpRequestInterceptor
 
HttpTraceExchangeFilterFunction - Class in com.fayupable.logged.spring.http
ExchangeFilterFunction that writes the current @Logged call chain's trace id and depth into an outgoing WebClient request's headers, via HttpTraceHeaderCarrier.
HttpTraceExchangeFilterFunction() - Constructor for class com.fayupable.logged.spring.http.HttpTraceExchangeFilterFunction
 
HttpTraceHeaderCarrier - Class in com.fayupable.logged.spring.http
Carries a @Logged call chain's FlowContext across a synchronous HTTP call, by writing it into the outgoing request's headers and reading it back from the incoming request's headers.
HttpTraceServletFilter - Class in com.fayupable.logged.spring.http
Servlet Filter that reads the incoming HTTP request's trace headers, if present, and adopts them as the active @Logged call chain for the duration of the request, via HttpTraceHeaderCarrier.
HttpTraceServletFilter() - Constructor for class com.fayupable.logged.spring.http.HttpTraceServletFilter
 

I

IClientInfoPort - Interface in com.fayupable.logged.core.port
Output port responsible for resolving who triggered the current method invocation.
includeDevice() - Element in annotation interface com.fayupable.logged.core.annotation.Logged
Whether a coarse description of the caller's device, such as "Windows / Chrome 129", should be resolved and recorded for this method.
includeIp() - Element in annotation interface com.fayupable.logged.core.annotation.Logged
Whether the caller's IP address should be resolved and recorded alongside whatever else the caller-identity resolver produces, instead of only as a fallback used when no identity is available.
InMemoryClientInfoPort - Class in com.fayupable.logged.test
An IClientInfoPort that always returns a fixed, test-controlled caller identity, instead of resolving one from Spring Security or the current HTTP request.
InMemoryClientInfoPort() - Constructor for class com.fayupable.logged.test.InMemoryClientInfoPort
Creates an instance that reports the caller identity as "unknown" until InMemoryClientInfoPort.setCallerIdentity(String) is called.
InMemoryClientInfoPort(String) - Constructor for class com.fayupable.logged.test.InMemoryClientInfoPort
Creates an instance that reports the given caller identity.
InMemoryInvocationEventEmitter - Class in com.fayupable.logged.test
An InvocationEventEmitter that records every event it receives in memory instead of publishing it anywhere, so a test can assert on what @Logged actually observed about a call.
InMemoryInvocationEventEmitter() - Constructor for class com.fayupable.logged.test.InMemoryInvocationEventEmitter
 
InMemoryMetricsRecorder - Class in com.fayupable.logged.test
A MetricsRecorder that records every call it is asked to record in memory as a RecordedMetric, instead of forwarding it to a real metrics backend such as Micrometer.
InMemoryMetricsRecorder() - Constructor for class com.fayupable.logged.test.InMemoryMetricsRecorder
 
intercept(HttpRequest, byte[], ClientHttpRequestExecution) - Method in class com.fayupable.logged.spring.http.HttpTraceClientHttpRequestInterceptor
Writes the current call chain's trace headers onto request before delegating to execution.
invocationEventEmitter() - Method in class com.fayupable.logged.spring.config.LoggedAutoConfiguration
 
InvocationEventEmitter - Interface in com.fayupable.logged.core.port
Output port responsible for delivering a MethodInvocationEvent to wherever it needs to go: an SLF4J logger, a metrics backend, a message queue, or any other sink.
isEnabled() - Method in class com.fayupable.logged.spring.config.LoggedProperties
 
isEnabled() - Method in class com.fayupable.logged.spring.config.LoggedProperties.Mdc
 
isEnabled() - Method in class com.fayupable.logged.spring.config.LoggedProperties.Metrics
 
isIncludeDevice() - Method in class com.fayupable.logged.spring.config.LoggedProperties.ClientInfo
 
isTrustForwardedHeaders() - Method in class com.fayupable.logged.spring.config.LoggedProperties.ClientInfo
Deprecated.

J

JsonInvocationEventEmitter - Class in com.fayupable.logged.spring.emitter
InvocationEventEmitter that writes each event as a single line of structured JSON through SLF4J, instead of the human-readable line produced by Slf4jInvocationEventEmitter.
JsonInvocationEventEmitter() - Constructor for class com.fayupable.logged.spring.emitter.JsonInvocationEventEmitter
 

K

KafkaTraceHeaderCarrier - Class in com.fayupable.logged.spring.kafka
Carries a @Logged call chain's FlowContext across a Kafka message, by writing it into the message's headers when producing and reading it back when consuming.

L

lastEvent() - Method in class com.fayupable.logged.test.InMemoryInvocationEventEmitter
Returns the most recently recorded event.
lastMetric() - Method in class com.fayupable.logged.test.InMemoryMetricsRecorder
Returns the most recently recorded metric.
LazyMetricsRecorder - Class in com.fayupable.logged.spring.metrics
MetricsRecorder that defers the choice between a real Micrometer-backed recorder and a no-op fallback to the first actual invocation, instead of to Spring Boot auto-configuration ordering.
LazyMetricsRecorder(ObjectProvider<MeterRegistry>) - Constructor for class com.fayupable.logged.spring.metrics.LazyMetricsRecorder
 
logged() - Method in class com.fayupable.logged.benchmarks.LoggedAspectBenchmark
 
Logged - Annotation Interface in com.fayupable.logged.core.annotation
Marks a method for automatic observability: invocation logging and metrics collection through an AOP-based interceptor provided by an adapter module (for example logged-spring).
logged_AverageTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_logged_jmhTest
 
logged_avgt_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, LoggedAspectBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_logged_jmhTest
 
logged_sample_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, SampleBuffer, int, long, int, LoggedAspectBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_logged_jmhTest
 
logged_SampleTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_logged_jmhTest
 
logged_SingleShotTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_logged_jmhTest
 
logged_ss_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, int, LoggedAspectBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_logged_jmhTest
 
logged_Throughput(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_logged_jmhTest
 
logged_thrpt_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, LoggedAspectBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_logged_jmhTest
 
loggedAspect(InvocationEventEmitter, MetricsRecorder, IClientInfoPort, LoggedProperties) - Method in class com.fayupable.logged.spring.config.LoggedAutoConfiguration
 
LoggedAspect - Class in com.fayupable.logged.spring.aspect
Spring AOP interceptor that implements the behavior described by Logged.
LoggedAspect(InvocationEventEmitter, MetricsRecorder, IClientInfoPort) - Constructor for class com.fayupable.logged.spring.aspect.LoggedAspect
Creates an aspect with MDC propagation enabled, the default for any consumer that does not need to disable it explicitly.
LoggedAspect(InvocationEventEmitter, MetricsRecorder, IClientInfoPort, boolean) - Constructor for class com.fayupable.logged.spring.aspect.LoggedAspect
Creates an aspect with explicit control over MDC propagation.
LoggedAspect(InvocationEventEmitter, MetricsRecorder, IClientInfoPort, boolean, boolean) - Constructor for class com.fayupable.logged.spring.aspect.LoggedAspect
Creates an aspect with explicit control over MDC propagation and application-wide device info.
LoggedAspectBenchmark - Class in com.fayupable.logged.benchmarks
Measures the overhead LoggedAspect adds to a method call, compared to calling the same logic directly with no interception at all.
LoggedAspectBenchmark() - Constructor for class com.fayupable.logged.benchmarks.LoggedAspectBenchmark
 
LoggedAspectBenchmark_baseline_jmhTest - Class in com.fayupable.logged.benchmarks.jmh_generated
 
LoggedAspectBenchmark_baseline_jmhTest() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_baseline_jmhTest
 
LoggedAspectBenchmark_jmhType - Class in com.fayupable.logged.benchmarks.jmh_generated
 
LoggedAspectBenchmark_jmhType() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType
 
LoggedAspectBenchmark_jmhType_B1 - Class in com.fayupable.logged.benchmarks.jmh_generated
 
LoggedAspectBenchmark_jmhType_B1() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B1
 
LoggedAspectBenchmark_jmhType_B2 - Class in com.fayupable.logged.benchmarks.jmh_generated
 
LoggedAspectBenchmark_jmhType_B2() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
LoggedAspectBenchmark_jmhType_B3 - Class in com.fayupable.logged.benchmarks.jmh_generated
 
LoggedAspectBenchmark_jmhType_B3() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B3
 
LoggedAspectBenchmark_logged_jmhTest - Class in com.fayupable.logged.benchmarks.jmh_generated
 
LoggedAspectBenchmark_logged_jmhTest() - Constructor for class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_logged_jmhTest
 
LoggedAutoConfiguration - Class in com.fayupable.logged.spring.config
Auto-configuration that wires the default port implementations and LoggedAspect into a Spring Boot application, so that adding this module as a dependency is enough for @Logged to work without any further setup.
LoggedAutoConfiguration() - Constructor for class com.fayupable.logged.spring.config.LoggedAutoConfiguration
 
LoggedMdcKeys - Class in com.fayupable.logged.spring.aspect
The MDC key names this library writes to while a @Logged method is executing.
LoggedProperties - Class in com.fayupable.logged.spring.config
Configuration properties for this library, bound under the logged prefix in an application's own configuration (for example application.yml).
LoggedProperties() - Constructor for class com.fayupable.logged.spring.config.LoggedProperties
 
LoggedProperties.ClientInfo - Class in com.fayupable.logged.spring.config
Properties controlling how the caller's identity is resolved.
LoggedProperties.Mdc - Class in com.fayupable.logged.spring.config
Properties controlling MDC propagation.
LoggedProperties.Metrics - Class in com.fayupable.logged.spring.config
Properties controlling metrics recording.
loggedTargetGuardBeanPostProcessor() - Static method in class com.fayupable.logged.spring.config.LoggedAutoConfiguration
Registered as a static bean method, per Spring's own guidance for BeanPostProcessor beans: this ensures the processor is created early enough to inspect every other bean in this context, without triggering premature instantiation of this configuration class itself.
LoggedTargetGuardBeanPostProcessor - Class in com.fayupable.logged.spring.guard
Fails application startup when Logged is applied to a method that cannot be correctly instrumented: a method on a JPA entity, a Spring Data repository interface implementation, a class annotated with @Repository, or a method returning a reactive org.reactivestreams.Publisher (Reactor's Mono/Flux, or an RxJava adapter that implements the same interface).
LoggedTargetGuardBeanPostProcessor() - Constructor for class com.fayupable.logged.spring.guard.LoggedTargetGuardBeanPostProcessor
 
loggedWithIpAndDevice() - Method in class com.fayupable.logged.benchmarks.CallerInfoOutputBenchmark
 
loggedWithIpAndDevice_AverageTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest
 
loggedWithIpAndDevice_avgt_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, CallerInfoOutputBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest
 
loggedWithIpAndDevice_sample_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, SampleBuffer, int, long, int, CallerInfoOutputBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest
 
loggedWithIpAndDevice_SampleTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest
 
loggedWithIpAndDevice_SingleShotTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest
 
loggedWithIpAndDevice_ss_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, int, CallerInfoOutputBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest
 
loggedWithIpAndDevice_Throughput(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest
 
loggedWithIpAndDevice_thrpt_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, CallerInfoOutputBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_loggedWithIpAndDevice_jmhTest
 
logInvocation(ProceedingJoinPoint, Logged) - Method in class com.fayupable.logged.spring.aspect.LoggedAspect
Intercepts a Logged-annotated method call, measuring its duration and outcome, and delegating the emission decision and call-chain tracking to their respective collaborators.
LogSafe - Class in com.fayupable.logged.spring.support
Keeps a value that may come from outside the application (a username, an X-Forwarded-For entry, a custom resolver's result) on a single line when it is written into plain-text log output or the MDC.

M

mask(String) - Static method in class com.fayupable.logged.spring.security.EmailMasker
Masks value if it looks like an e-mail address.
MASKED - Enum constant in enum class com.fayupable.logged.core.annotation.CallerMode
Mask the authenticated name when it looks like an e-mail address, keeping only the first character of the local part and the whole domain, for example user:j***@example.com.
MAX_DEPTH - Static variable in class com.fayupable.logged.spring.support.TraceDepth
Highest depth accepted from another service; no real call chain gets close.
Mdc() - Constructor for class com.fayupable.logged.spring.config.LoggedProperties.Mdc
 
METHOD_NAME - Static variable in class com.fayupable.logged.spring.aspect.LoggedMdcKeys
The method name resolved for the currently executing invocation, the same value reported as MethodInvocationEvent.methodName().
MethodInvocationEvent - Record Class in com.fayupable.logged.core.model
Immutable record describing a single method invocation captured by a Logged interceptor.
MethodInvocationEvent(String, String, Instant, long, boolean, String, String, String, String, String, int) - Constructor for record class com.fayupable.logged.core.model.MethodInvocationEvent
Creates an event without device info, with callerDevice set to null.
MethodInvocationEvent(String, String, Instant, long, boolean, String, String, String, String, String, String, int) - Constructor for record class com.fayupable.logged.core.model.MethodInvocationEvent
Creates an instance of a MethodInvocationEvent record class.
methodName() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the methodName record component.
methodName() - Method in record class com.fayupable.logged.test.RecordedMetric
Returns the value of the methodName record component.
metrics() - Method in class com.fayupable.logged.test.InMemoryMetricsRecorder
Returns every metric recorded so far, in recording order.
Metrics() - Constructor for class com.fayupable.logged.spring.config.LoggedProperties.Metrics
 
metricsRecorder(ObjectProvider<MeterRegistry>) - Method in class com.fayupable.logged.spring.config.LoggedAutoConfiguration
 
MetricsRecorder - Interface in com.fayupable.logged.core.port
Output port responsible for recording invocation metrics: how many times a method was called, how long calls took, and how many of them failed.
MicrometerMetricsRecorder - Class in com.fayupable.logged.spring.metrics
MetricsRecorder implementation backed by Micrometer.
MicrometerMetricsRecorder(MeterRegistry) - Constructor for class com.fayupable.logged.spring.metrics.MicrometerMetricsRecorder
 

N

NAME - Enum constant in enum class com.fayupable.logged.core.annotation.CallerMode
Write the authenticated name as is, for example user:jane.doe@example.com.
next() - Method in record class com.fayupable.logged.core.model.FlowContext
Creates the context for a nested call one level deeper than this one, keeping the same FlowContext.traceId() so it remains part of the same chain.
noOpClientInfoPort() - Method in class com.fayupable.logged.spring.config.LoggedAutoConfiguration
 
NoOpClientInfoPort - Class in com.fayupable.logged.core.port
A no-op IClientInfoPort that always reports the caller as unknown.
NoOpClientInfoPort() - Constructor for class com.fayupable.logged.core.port.NoOpClientInfoPort
 
NoOpInvocationEventEmitter - Class in com.fayupable.logged.core.port
A no-op InvocationEventEmitter that discards every event it receives.
NoOpInvocationEventEmitter() - Constructor for class com.fayupable.logged.core.port.NoOpInvocationEventEmitter
 
noOpMetricsRecorder() - Method in class com.fayupable.logged.spring.config.LoggedAutoConfiguration
 
NoOpMetricsRecorder - Class in com.fayupable.logged.core.port
A no-op MetricsRecorder that discards every invocation it is asked to record.
NoOpMetricsRecorder() - Constructor for class com.fayupable.logged.core.port.NoOpMetricsRecorder
 

P

parse(String) - Static method in class com.fayupable.logged.spring.support.TraceDepth
 
postProcessBeforeInitialization(Object, String) - Method in class com.fayupable.logged.spring.guard.LoggedTargetGuardBeanPostProcessor
 

R

RabbitTraceHeaderCarrier - Class in com.fayupable.logged.spring.rabbitmq
Carries a @Logged call chain's FlowContext across a RabbitMQ message, by writing it into the message's properties when publishing and reading it back when consuming.
readAndAdopt(Function<String, String>, Runnable) - Static method in class com.fayupable.logged.spring.http.HttpTraceHeaderCarrier
Reads a FlowContext through headerReader, if present, adopts it as the active context on this thread for the duration of work, and restores this thread's previous context again afterward, regardless of whether work completes normally or throws.
readAndAdopt(Headers, Runnable) - Static method in class com.fayupable.logged.spring.kafka.KafkaTraceHeaderCarrier
Reads a FlowContext from headers, if present, adopts it as the active context on this thread for the duration of work, and restores this thread's previous context again afterward, regardless of whether work completes normally or throws.
readAndAdopt(MessageProperties, Runnable) - Static method in class com.fayupable.logged.spring.rabbitmq.RabbitTraceHeaderCarrier
Reads a FlowContext from properties, if present, adopts it as the active context on this thread for the duration of work, and restores this thread's previous context again afterward, regardless of whether work completes normally or throws.
record(String, String, long, boolean, String) - Method in interface com.fayupable.logged.core.port.MetricsRecorder
Records the outcome and duration of a single method invocation.
record(String, String, long, boolean, String) - Method in class com.fayupable.logged.core.port.NoOpMetricsRecorder
 
record(String, String, long, boolean, String) - Method in class com.fayupable.logged.spring.metrics.LazyMetricsRecorder
 
record(String, String, long, boolean, String) - Method in class com.fayupable.logged.spring.metrics.MicrometerMetricsRecorder
Records the given invocation against the invocation counter, the duration timer, and, if the call failed, the error counter.
record(String, String, long, boolean, String) - Method in class com.fayupable.logged.test.InMemoryMetricsRecorder
 
RecordedMetric - Record Class in com.fayupable.logged.test
A single call recorded by InMemoryMetricsRecorder, mirroring the parameters of MetricsRecorder.record(java.lang.String, java.lang.String, long, boolean, java.lang.String) so a test can assert on exactly what was reported.
RecordedMetric(String, String, long, boolean, String) - Constructor for record class com.fayupable.logged.test.RecordedMetric
Creates an instance of a RecordedMetric record class.
RequestAttributesPropagatingExecutor - Class in com.fayupable.logged.spring.security
Executor decorator that carries the submitting thread's Spring Web RequestAttributes over to whatever thread actually runs the submitted task.
RequestAttributesPropagatingExecutor(Executor) - Constructor for class com.fayupable.logged.spring.security.RequestAttributesPropagatingExecutor
Wraps delegate so that every task submitted through this executor carries the submitting thread's RequestAttributes into whichever thread delegate actually runs it on.
RequestAttributesTaskDecorator - Class in com.fayupable.logged.spring.security
TaskDecorator that carries the submitting thread's Spring Web RequestAttributes into whatever thread Spring's @Async infrastructure actually runs the task on.
RequestAttributesTaskDecorator() - Constructor for class com.fayupable.logged.spring.security.RequestAttributesTaskDecorator
 
resolve(String) - Static method in class com.fayupable.logged.spring.security.DeviceInfoResolver
Resolves a coarse device description from a User-Agent header.
resolve(Authentication) - Method in interface com.fayupable.logged.spring.security.CallerIdentityResolver
Resolves the identifier for an authenticated, non-anonymous principal.
resolveCallerDevice() - Method in interface com.fayupable.logged.core.port.IClientInfoPort
Resolves a coarse description of the device that triggered the current invocation, such as "Windows / Chrome 129".
resolveCallerDevice() - Method in class com.fayupable.logged.spring.security.HttpRequestClientInfoAdapter
Resolves a coarse description of the caller's device from the current request's User-Agent header, never the raw header itself; see DeviceInfoResolver.
resolveCallerDevice() - Method in class com.fayupable.logged.spring.security.SpringSecurityClientInfoAdapter
Resolves a coarse description of the caller's device from the current request's User-Agent header, never the raw header itself; see DeviceInfoResolver.
resolveCallerDevice() - Method in class com.fayupable.logged.test.InMemoryClientInfoPort
Returns the device description last set through InMemoryClientInfoPort.setCallerDevice(String), or null if none was set, matching an adapter that does not support device resolution.
resolveCallerIdentity() - Method in interface com.fayupable.logged.core.port.IClientInfoPort
Resolves an identifier describing who triggered the current invocation.
resolveCallerIdentity() - Method in class com.fayupable.logged.core.port.NoOpClientInfoPort
 
resolveCallerIdentity() - Method in class com.fayupable.logged.spring.security.HttpRequestClientInfoAdapter
 
resolveCallerIdentity() - Method in class com.fayupable.logged.spring.security.SpringSecurityClientInfoAdapter
 
resolveCallerIdentity() - Method in class com.fayupable.logged.test.InMemoryClientInfoPort
 
resolveCallerIdentity(CallerMode) - Method in interface com.fayupable.logged.core.port.IClientInfoPort
Resolves the caller identity for an invocation whose @Logged annotation requests a specific CallerMode.
resolveCallerIdentity(CallerMode) - Method in class com.fayupable.logged.spring.security.SpringSecurityClientInfoAdapter
 
resolveCallerIp() - Method in interface com.fayupable.logged.core.port.IClientInfoPort
Resolves the IP address of the caller that triggered the current invocation, independent of whatever IClientInfoPort.resolveCallerIdentity() itself resolves to.
resolveCallerIp() - Method in class com.fayupable.logged.spring.security.HttpRequestClientInfoAdapter
 
resolveCallerIp() - Method in class com.fayupable.logged.spring.security.SpringSecurityClientInfoAdapter
Resolves the caller's IP address independent of SpringSecurityClientInfoAdapter.resolveCallerIdentity()'s outcome, unlike that method's authenticated-principal-first fallback chain.
resolveCallerIp() - Method in class com.fayupable.logged.test.InMemoryClientInfoPort
 
root() - Static method in record class com.fayupable.logged.core.model.FlowContext
Creates the root context for a new call chain, deriving the trace id from a single 64-bit random value.
rootCauseType() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the rootCauseType record component.

S

sampleRate() - Element in annotation interface com.fayupable.logged.core.annotation.Logged
The fraction of invocations that should actually be logged, expressed as a value between 0.0 (never log) and 1.0 (always log).
SecurityContextPropagatingExecutor - Class in com.fayupable.logged.spring.security
Executor decorator that carries the submitting thread's Spring Security SecurityContext over to whatever thread actually runs the submitted task.
SecurityContextPropagatingExecutor(Executor) - Constructor for class com.fayupable.logged.spring.security.SecurityContextPropagatingExecutor
Wraps delegate so that every task submitted through this executor carries the submitting thread's SecurityContext into whichever thread delegate actually runs it on.
SecurityContextTaskDecorator - Class in com.fayupable.logged.spring.security
TaskDecorator that carries the submitting thread's Spring Security SecurityContext into whatever thread Spring's @Async infrastructure actually runs the task on.
SecurityContextTaskDecorator() - Constructor for class com.fayupable.logged.spring.security.SecurityContextTaskDecorator
 
setCaller(CallerMode) - Method in class com.fayupable.logged.spring.config.LoggedProperties.ClientInfo
 
setCallerDevice(String) - Method in class com.fayupable.logged.test.InMemoryClientInfoPort
Sets the value InMemoryClientInfoPort.resolveCallerDevice() returns, for asserting on @Logged(includeDevice = true) behavior.
setCallerIdentity(String) - Method in class com.fayupable.logged.test.InMemoryClientInfoPort
Changes the caller identity reported by subsequent calls to InMemoryClientInfoPort.resolveCallerIdentity().
setCallerIp(String) - Method in class com.fayupable.logged.test.InMemoryClientInfoPort
Changes the IP address reported by subsequent calls to InMemoryClientInfoPort.resolveCallerIp(), for testing a @Logged(includeIp = true) method's MethodInvocationEvent.callerIp() without wiring a real HTTP request.
setEnabled(boolean) - Method in class com.fayupable.logged.spring.config.LoggedProperties.Mdc
 
setEnabled(boolean) - Method in class com.fayupable.logged.spring.config.LoggedProperties.Metrics
 
setEnabled(boolean) - Method in class com.fayupable.logged.spring.config.LoggedProperties
 
setIncludeDevice(boolean) - Method in class com.fayupable.logged.spring.config.LoggedProperties.ClientInfo
 
setTrustForwardedHeaders(boolean) - Method in class com.fayupable.logged.spring.config.LoggedProperties.ClientInfo
Deprecated.
setUp() - Method in class com.fayupable.logged.benchmarks.CallerInfoOutputBenchmark
 
setUp() - Method in class com.fayupable.logged.benchmarks.LoggedAspectBenchmark
 
setupInvocationMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
setupInvocationMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
setupInvocationMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
setupInvocationMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
setupIterationMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
setupIterationMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
setupIterationMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
setupIterationMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
setupTrialMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
setupTrialMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
setupTrialMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
setupTrialMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
singleLine(String) - Static method in class com.fayupable.logged.spring.support.LogSafe
Returns value with every line-breaking or invisible control character replaced by a visible escape.
Slf4jInvocationEventEmitter - Class in com.fayupable.logged.spring.emitter
Default InvocationEventEmitter that writes each event as a single, human-readable line through SLF4J.
Slf4jInvocationEventEmitter() - Constructor for class com.fayupable.logged.spring.emitter.Slf4jInvocationEventEmitter
 
slf4jSummaryLine() - Method in class com.fayupable.logged.benchmarks.CallerInfoOutputBenchmark
 
slf4jSummaryLine_AverageTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest
 
slf4jSummaryLine_avgt_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, CallerInfoOutputBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest
 
slf4jSummaryLine_sample_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, SampleBuffer, int, long, int, CallerInfoOutputBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest
 
slf4jSummaryLine_SampleTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest
 
slf4jSummaryLine_SingleShotTime(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest
 
slf4jSummaryLine_ss_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, int, CallerInfoOutputBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest
 
slf4jSummaryLine_Throughput(InfraControl, ThreadParams) - Method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest
 
slf4jSummaryLine_thrpt_jmhStub(InfraControl, RawResults, BenchmarkParams, IterationParams, ThreadParams, Blackhole, Control, int, CallerInfoOutputBenchmark_jmhType) - Static method in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_slf4jSummaryLine_jmhTest
 
slowThresholdMs() - Element in annotation interface com.fayupable.logged.core.annotation.Logged
The duration, in milliseconds, above which an invocation is considered slow.
springSecurityClientInfoAdapter(LoggedProperties, ObjectProvider<CallerIdentityResolver>) - Method in class com.fayupable.logged.spring.config.LoggedAutoConfiguration
 
SpringSecurityClientInfoAdapter - Class in com.fayupable.logged.spring.security
IClientInfoPort implementation that resolves the caller as the authenticated Spring Security principal when one is present, falling back to RequestClientIpResolver otherwise.
SpringSecurityClientInfoAdapter(boolean) - Constructor for class com.fayupable.logged.spring.security.SpringSecurityClientInfoAdapter
 
SpringSecurityClientInfoAdapter(boolean, CallerMode, CallerIdentityResolver) - Constructor for class com.fayupable.logged.spring.security.SpringSecurityClientInfoAdapter
 
success() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the success record component.
success() - Method in record class com.fayupable.logged.test.RecordedMetric
Returns the value of the success record component.

T

tearInvocationMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
tearInvocationMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
tearInvocationMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
tearInvocationMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
tearIterationMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
tearIterationMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
tearIterationMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
tearIterationMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
tearTrialMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
tearTrialMutex - Variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
tearTrialMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.CallerInfoOutputBenchmark_jmhType_B2
 
tearTrialMutexUpdater - Static variable in class com.fayupable.logged.benchmarks.jmh_generated.LoggedAspectBenchmark_jmhType_B2
 
timestamp() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the timestamp record component.
toString() - Method in record class com.fayupable.logged.core.model.FlowContext
Returns a string representation of this record class.
toString() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns a string representation of this record class.
toString() - Method in record class com.fayupable.logged.test.RecordedMetric
Returns a string representation of this record class.
TRACE_ID - Static variable in class com.fayupable.logged.spring.aspect.LoggedMdcKeys
The FlowContext.traceId() shared by every call in the same call chain.
TRACE_ID_HEADER - Static variable in class com.fayupable.logged.spring.http.HttpTraceHeaderCarrier
 
TraceDepth - Class in com.fayupable.logged.spring.support
Parses the call-chain depth received from another service (an HTTP header, a Kafka or RabbitMQ message header), shared by every trace carrier so they apply exactly the same rule.
traceId() - Method in record class com.fayupable.logged.core.model.FlowContext
Returns the value of the traceId record component.
traceId() - Method in record class com.fayupable.logged.core.model.MethodInvocationEvent
Returns the value of the traceId record component.

U

UNKNOWN - Static variable in class com.fayupable.logged.spring.security.DeviceInfoResolver
Placeholder for a missing, blank or unrecognized user agent.

V

valueOf(String) - Static method in enum class com.fayupable.logged.core.annotation.CallerMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.fayupable.logged.core.annotation.CallerMode
Returns an array containing the constants of this enum class, in the order they are declared.

W

writeToHeaders(BiConsumer<String, String>) - Static method in class com.fayupable.logged.spring.http.HttpTraceHeaderCarrier
Writes the current thread's FlowContext, if any is active, through headerWriter under HttpTraceHeaderCarrier.TRACE_ID_HEADER/ HttpTraceHeaderCarrier.DEPTH_HEADER.
writeToHeaders(Headers) - Static method in class com.fayupable.logged.spring.kafka.KafkaTraceHeaderCarrier
Writes the current thread's FlowContext, if any is active, into headers as KafkaTraceHeaderCarrier.TRACE_ID_HEADER/KafkaTraceHeaderCarrier.DEPTH_HEADER entries.
writeToHeaders(MessageProperties) - Static method in class com.fayupable.logged.spring.rabbitmq.RabbitTraceHeaderCarrier
Writes the current thread's FlowContext, if any is active, into properties as RabbitTraceHeaderCarrier.TRACE_ID_HEADER/RabbitTraceHeaderCarrier.DEPTH_HEADER header entries.
A B C D E F G H I J K L M N P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values