Package org.mockserver.netty.mcp
Class McpSessionManager
java.lang.Object
org.mockserver.netty.mcp.McpSessionManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.util.concurrent.EventExecutorGroupReturns the executor used for MCP request processing.getSession(String sessionId) booleanisValidSession(String sessionId) removeSession(String sessionId) voidshutdown()Shuts down the MCP executor gracefully.intsize()
-
Constructor Details
-
McpSessionManager
-
-
Method Details
-
getExecutor
public io.netty.util.concurrent.EventExecutorGroup getExecutor()Returns the executor used for MCP request processing. -
shutdown
public void shutdown()Shuts down the MCP executor gracefully. Called during server shutdown. -
createSession
-
getSession
-
isValidSession
-
removeSession
-
size
public int size()
-