public static class RequestExecutorProvider.SameThreadProvider extends Object implements RequestExecutorProvider
RequestExecutorProvider
implementation, which always returns
null to force the user code to be executed on the current Thread
.RequestExecutorProvider.SameThreadProvider, RequestExecutorProvider.WorkerThreadProvider
Constructor and Description |
---|
SameThreadProvider() |
public Executor getExecutor(Request request)
RequestExecutorProvider
getExecutor
in interface RequestExecutorProvider
request
- Request
Executor
to execute user's code associated with the
Request
processing, or null if the Request
has
to be executed on the current Thread
Copyright © 2015 Oracle Corporation. All rights reserved.