Class ResponseContext

java.lang.Object
com.gigaspaces.lrmi.nio.ResponseContext

public class ResponseContext extends Object
This is a thread local based context that is used to send response back to the client not in the current stack, but rather from a different thread that will use a stored context in the memory. it is being used to avoid blocking the LMRI thread in blocking operations and letting the processor (matching) thread send the response when available.
Since:
6.1
Author:
asy ronen
  • Constructor Details

    • ResponseContext

      public ResponseContext()
  • Method Details

    • getResponseContext

      public static IResponseContext getResponseContext()
    • clearResponseContext

      public static void clearResponseContext()
    • isCallBackMode

      public static boolean isCallBackMode()
    • dontSendResponse

      public static void dontSendResponse()
    • setExistingResponseContext

      public static void setExistingResponseContext(IResponseContext respContext)