Pause the endpoint, which will stop it accepting new connections and unlock the acceptor.
()
| 2303 | * Pause the endpoint, which will stop it accepting new connections and unlock the acceptor. |
| 2304 | */ |
| 2305 | public void pause() { |
| 2306 | if (running && !paused) { |
| 2307 | paused = true; |
| 2308 | releaseConnectionLatch(); |
| 2309 | unlockAccept(); |
| 2310 | getHandler().pause(); |
| 2311 | } |
| 2312 | } |
| 2313 | |
| 2314 | /** |
| 2315 | * Resume the endpoint, which will make it start accepting new connections again. |
nothing calls this directly
no test coverage detected