Package com.gigaspaces.lrmi.nio
Class ResponseContext
java.lang.Object
com.gigaspaces.lrmi.nio.ResponseContext
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic IResponseContextstatic booleanstatic voidsetExistingResponseContext(IResponseContext respContext)
-
Constructor Details
-
ResponseContext
public ResponseContext()
-
-
Method Details
-
getResponseContext
-
clearResponseContext
public static void clearResponseContext() -
isCallBackMode
public static boolean isCallBackMode() -
dontSendResponse
public static void dontSendResponse() -
setExistingResponseContext
-