MCPcopy Create free account
hub / github.com/apache/tomcat / unbind

Method unbind

java/org/apache/tomcat/util/net/Nio2Endpoint.java:234–247  ·  view source on GitHub ↗

Deallocate NIO memory pools, and close server socket.

()

Source from the content-addressed store, hash-verified

232 * Deallocate NIO memory pools, and close server socket.
233 */
234 @Override
235 public void unbind() throws Exception {
236 if (running) {
237 stop();
238 }
239 doCloseServerSocket();
240 destroySsl();
241 super.unbind();
242 // Unlike other connectors, the thread pool is tied to the server socket
243 shutdownExecutor();
244 if (getHandler() != null) {
245 getHandler().recycle();
246 }
247 }
248
249
250 @Override

Callers

nothing calls this directly

Calls 7

doCloseServerSocketMethod · 0.95
shutdownExecutorMethod · 0.95
destroySslMethod · 0.80
stopMethod · 0.65
unbindMethod · 0.65
recycleMethod · 0.65
getHandlerMethod · 0.45

Tested by

no test coverage detected