Package org.apache.wicket.protocol.ws
Class WebSocketSettings.WebSocketPushMessageExecutor
- java.lang.Object
-
- org.apache.wicket.protocol.ws.WebSocketSettings.WebSocketPushMessageExecutor
-
- All Implemented Interfaces:
Executor
- Enclosing class:
- WebSocketSettings
public static class WebSocketSettings.WebSocketPushMessageExecutor extends Object implements Executor
-
-
Constructor Summary
Constructors Constructor Description WebSocketPushMessageExecutor()
For non-http worker threads pushes the WebSocket runnable in the same request.WebSocketPushMessageExecutor(Executor nonHttpRequestExecutor, Executor httpRequestExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(Runnable command)
Runs a simple task that doesn't return a result
-
-
-
Constructor Detail
-
WebSocketPushMessageExecutor
public WebSocketPushMessageExecutor()
For non-http worker threads pushes the WebSocket runnable in the same request. For http worker threads uses an elastic thread pool of 1-8 threads. UseWebSocketPushMessageExecutor(java.util.concurrent.Executor, java.util.concurrent.Executor)
for custom behavior and/or settings
-
WebSocketPushMessageExecutor
public WebSocketPushMessageExecutor(Executor nonHttpRequestExecutor, Executor httpRequestExecutor)
-
-