Interface ITransferContextService
- All Known Subinterfaces:
ITransferContextServiceExt
public interface ITransferContextService
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Reset data on this thread in order to revert context back on this thread once the async task is done.void
restoreState
(Map<String, Object> m) Set/restore data on this thread in order to preserve provider context during thread switchingvoid
storeState
(Map<String, Object> m) store data to be transferred to another thread in order to preserve service provider context.
-
Method Details
-
storeState
store data to be transferred to another thread in order to preserve service provider context.- Parameters:
m
- Map object to be populated with thread context data that will need to be transferred to another thread to preserve context for the transfer producer services.
-
restoreState
Set/restore data on this thread in order to preserve provider context during thread switching- Parameters:
m
- populated data that will be made available to a new thread that will need to access context for a transfer producer service.
-
resetState
void resetState()Reset data on this thread in order to revert context back on this thread once the async task is done.
-