Interface ITransferContextService

All Known Subinterfaces:
ITransferContextServiceExt

public interface ITransferContextService
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Reset data on this thread in order to revert context back on this thread once the async task is done.
    void
    Set/restore data on this thread in order to preserve provider context during thread switching
    void
    store data to be transferred to another thread in order to preserve service provider context.
  • Method Details

    • storeState

      void storeState(Map<String,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(Map<String,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.