Uses of Interface
com.sap.cloud.sdk.cloudplatform.thread.ThreadContext
Packages that use ThreadContext
Package
Description
- 
Uses of ThreadContext in com.sap.cloud.sdk.cloudplatform.requestheader
Methods in com.sap.cloud.sdk.cloudplatform.requestheader with parameters of type ThreadContextModifier and TypeMethodDescriptionvoidRequestHeaderThreadContextListener.beforeInitialize(ThreadContext threadContext)  - 
Uses of ThreadContext in com.sap.cloud.sdk.cloudplatform.security
Methods in com.sap.cloud.sdk.cloudplatform.security with parameters of type ThreadContextModifier and TypeMethodDescriptionvoidAuthTokenThreadContextListener.afterInitialize(ThreadContext threadContext) voidBasicAuthenticationThreadContextListener.afterInitialize(ThreadContext threadContext)  - 
Uses of ThreadContext in com.sap.cloud.sdk.cloudplatform.security.principal
Methods in com.sap.cloud.sdk.cloudplatform.security.principal with parameters of type ThreadContextModifier and TypeMethodDescriptionvoidPrincipalThreadContextListener.afterInitialize(ThreadContext threadContext)  - 
Uses of ThreadContext in com.sap.cloud.sdk.cloudplatform.tenant
Methods in com.sap.cloud.sdk.cloudplatform.tenant with parameters of type ThreadContextModifier and TypeMethodDescriptionvoidTenantThreadContextListener.afterInitialize(ThreadContext threadContext)  - 
Uses of ThreadContext in com.sap.cloud.sdk.cloudplatform.thread
Classes in com.sap.cloud.sdk.cloudplatform.thread that implement ThreadContextModifier and TypeClassDescriptionclassThis class represents the default implementation ofThreadContext.Methods in com.sap.cloud.sdk.cloudplatform.thread that return ThreadContextModifier and TypeMethodDescriptionDefaultThreadContext.duplicate()default ThreadContextThreadContext.duplicate()Create a newThreadContextcontaining all properties of this context.static ThreadContextThreadContextAccessor.getCurrentContext()Returns the currentThreadContext.static ThreadContextThreadContextAccessor.getCurrentContextOrNull()Returns the currentThreadContextor null, if this is not possible.default ThreadContextThreadContextFacade.getCurrentContextOrNull()Returns an instanceThreadContextor null.ThreadLocalThreadContextFacade.getCurrentContextOrNull()Methods in com.sap.cloud.sdk.cloudplatform.thread that return types with arguments of type ThreadContextModifier and TypeMethodDescriptionstatic io.vavr.control.Try<ThreadContext>ThreadContextAccessor.tryGetCurrentContext()Returns aTryof the currentThreadContext.io.vavr.control.Try<ThreadContext>ThreadContextFacade.tryGetCurrentContext()Returns aTryof the currentThreadContext.io.vavr.control.Try<ThreadContext>ThreadLocalThreadContextFacade.tryGetCurrentContext()Methods in com.sap.cloud.sdk.cloudplatform.thread with parameters of type ThreadContextModifier and TypeMethodDescriptiondefault voidThreadContextListener.afterInitialize(ThreadContext threadContext) Invoked after the currentThreadContextis initialized and set.default voidThreadContextListener.beforeInitialize(ThreadContext threadContext) Invoked before the currentThreadContextis initialized and set.voidDefaultThreadContextExecutorService.execute(Runnable command, ThreadContext threadContext) static voidThreadContextExecutors.execute(Runnable command, ThreadContext threadContext) Attach aThreadContextto the given command and execute it.voidThreadContextExecutorService.execute(Runnable command, ThreadContext threadContext) Attach aThreadContextto the given command and execute it.voidThreadContextFacade.setCurrentContext(ThreadContext threadContext) Sets the currentThreadContext.voidThreadLocalThreadContextFacade.setCurrentContext(ThreadContext threadContext) Future<?>DefaultThreadContextExecutorService.submit(Runnable task, ThreadContext threadContext) <T> Future<T>DefaultThreadContextExecutorService.submit(Runnable task, T result, ThreadContext threadContext) <T> Future<T>DefaultThreadContextExecutorService.submit(Callable<T> task, ThreadContext threadContext) static <T> Future<T>ThreadContextExecutors.submit(Callable<T> task, ThreadContext threadContext) Attach aThreadContextto the given task and execute it.Future<?>ThreadContextExecutorService.submit(Runnable task, ThreadContext threadContext) Attach aThreadContextto the given task and execute it.<T> Future<T>ThreadContextExecutorService.submit(Runnable task, T result, ThreadContext threadContext) Attach aThreadContextto the given task and execute it.<T> Future<T>ThreadContextExecutorService.submit(Callable<T> task, ThreadContext threadContext) Attach aThreadContextto the given task and execute it.static ThreadContextExecutorThreadContextExecutor.using(ThreadContext context) Create aThreadContextExecutorusing a duplicate of the providedThreadContextwith preset properties.