public interface ITransferContextService
Modifier and Type | Method and Description |
---|---|
void |
resetState()
Reset data on this thread in order to revert context back on this thread once the async task is done.
|
void |
restoreState(java.util.Map<java.lang.String,java.lang.Object> m)
Set/restore data on this thread in order to preserve provider context during thread switching
|
void |
storeState(java.util.Map<java.lang.String,java.lang.Object> m)
store data to be transferred to another thread in order to preserve service provider context.
|
void storeState(java.util.Map<java.lang.String,java.lang.Object> m)
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.void restoreState(java.util.Map<java.lang.String,java.lang.Object> m)
m
- populated data that will be made available to a new thread that will need to access
context for a transfer producer service.void resetState()