gravitino.audit.caller_context.CallerContextHolder¶
- class gravitino.audit.caller_context.CallerContextHolder¶
 Bases:
objectA thread local holder for the CallerContext.
- __init__()¶
 
Methods
__init__()get()Get the CallerContext from the thread local.
remove()Remove the CallerContext from the thread local.
set(context)Set the CallerContext in the thread local.
- static get()¶
 Get the CallerContext from the thread local.
- Returns:
 The CallerContext.
- static remove()¶
 Remove the CallerContext from the thread local.
- static set(context: CallerContext)¶
 Set the CallerContext in the thread local.
- Args:
 context: The CallerContext to set.