Uses of Class
com.sap.cloud.sdk.cloudplatform.thread.ThreadContextExecutor
Packages that use ThreadContextExecutor
- 
Uses of ThreadContextExecutor in com.sap.cloud.sdk.cloudplatform.thread
Methods in com.sap.cloud.sdk.cloudplatform.thread that return ThreadContextExecutorModifier and TypeMethodDescriptionstatic ThreadContextExecutorThreadContextExecutor.fromCurrentContext()Create aThreadContextExecutorusing the currentThreadContext, that is being resolved fromThreadContextAccessorand duplicated with all existing properties.static ThreadContextExecutorThreadContextExecutor.fromCurrentOrNewContext()Create aThreadContextExecutorusing the currentThreadContext, if one is available.static ThreadContextExecutorThreadContextExecutor.fromNewContext()Create aThreadContextExecutorusing a new instance ofThreadContextwith empty properties.static ThreadContextExecutorThreadContextExecutor.using(ThreadContext context) Create aThreadContextExecutorusing a duplicate of the providedThreadContextwith preset properties.ThreadContextExecutor.withListeners(ThreadContextListener... listeners) Adds the specified listeners to the life-cycle of theThreadContext.ThreadContextExecutor.withListeners(Iterable<ThreadContextListener> listeners) Adds the specified listeners to the life-cycle of theThreadContext.ThreadContextExecutor.withoutDefaultListeners()Removes all SDK provided listeners on the classpath from the executor call.ThreadContextExecutor.withoutListeners(Integer... listenerPriorities) Removes the listeners with the given priorities from the life-cycle of theThreadContext.ThreadContextExecutor.withoutListeners(Iterable<Integer> listenerPriorities) Removes the listeners with the given priorities from the life-cycle of theThreadContext.Methods in com.sap.cloud.sdk.cloudplatform.thread with parameters of type ThreadContextExecutorModifier and TypeMethodDescriptionvoidDefaultThreadContextExecutorService.execute(Runnable command, ThreadContextExecutor threadContextExecutor) static voidThreadContextExecutors.execute(Runnable command, ThreadContextExecutor threadContextExecutor) Attach aThreadContextExecutorto the given command and execute it.voidThreadContextExecutorService.execute(Runnable command, ThreadContextExecutor threadContextExecutor) Attach aThreadContextExecutorto the given command and execute it.Future<?>DefaultThreadContextExecutorService.submit(Runnable task, ThreadContextExecutor threadContextExecutor) <T> Future<T>DefaultThreadContextExecutorService.submit(Runnable task, T result, ThreadContextExecutor threadContextExecutor) <T> Future<T>DefaultThreadContextExecutorService.submit(Callable<T> task, ThreadContextExecutor threadContextExecutor) static <T> Future<T>ThreadContextExecutors.submit(Callable<T> task, ThreadContextExecutor threadContextExecutor) Attach aThreadContextExecutorto the given task and execute it.Future<?>ThreadContextExecutorService.submit(Runnable task, ThreadContextExecutor threadContextExecutor) Attach aThreadContextExecutorto the given task and execute it.<T> Future<T>ThreadContextExecutorService.submit(Runnable task, T result, ThreadContextExecutor threadContextExecutor) Attach aThreadContextExecutorto the given task and execute it.<T> Future<T>ThreadContextExecutorService.submit(Callable<T> task, ThreadContextExecutor threadContextExecutor) Attach aThreadContextExecutorto the given task and execute it.