MCPcopy Index your code
hub / github.com/apache/tomcat / pauseContextVersion

Method pauseContextVersion

java/org/apache/catalina/mapper/Mapper.java:378–385  ·  view source on GitHub ↗

Mark a context as being reloaded. Reversion of this state is performed by calling addContextVersion(...) when context starts up. @param ctxt The actual context @param hostName Virtual host name this context belongs to @param contextPath Context path @param version Context

(Context ctxt, String hostName, String contextPath, String version)

Source from the content-addressed store, hash-verified

376 * @param version Context version
377 */
378 public void pauseContextVersion(Context ctxt, String hostName, String contextPath, String version) {
379 hostName = renameWildcardHost(hostName);
380 ContextVersion contextVersion = findContextVersion(hostName, contextPath, version, true);
381 if (contextVersion == null || !ctxt.equals(contextVersion.object)) {
382 return;
383 }
384 contextVersion.markPaused();
385 }
386
387
388 private ContextVersion findContextVersion(String hostName, String contextPath, String version, boolean silent) {

Callers 2

unregisterContextMethod · 0.80

Calls 4

renameWildcardHostMethod · 0.95
findContextVersionMethod · 0.95
markPausedMethod · 0.95
equalsMethod · 0.65

Tested by 1