@ProviderType
public static class AuditContext.Scope
extends java.lang.Object
implements java.lang.AutoCloseable
AutoCloseable
scope that removes the associated AuditContext
when closed.
See AuditContext.openScope(AuditContext)
for more details.Modifier and Type | Method and Description |
---|---|
void |
close()
Removes the associated
AuditContext from thread local storage. |
public void close()
AuditContext
from thread local storage.
close
in interface java.lang.AutoCloseable