Interface ITransferContextService
-
- All Known Subinterfaces:
ITransferContextServiceExt
public interface ITransferContextService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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 switchingvoid
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.
-
-
-
Method Detail
-
storeState
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.- 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
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- 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.
-
-