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

Method setOwner

java/org/apache/catalina/ha/session/DeltaSession.java:248–258  ·  view source on GitHub ↗
(Object owner)

Source from the content-addressed store, hash-verified

246 }
247
248 @Override
249 public void setOwner(Object owner) {
250 if (owner instanceof ClusterManager cm && getManager() == null) {
251 this.setManager(cm);
252 this.setValid(true);
253 this.setPrimarySession(false);
254 this.access();
255 this.resetDeltaRequest();
256 this.endAccess();
257 }
258 }
259
260 @Override
261 public boolean isAccessReplicate() {

Callers

nothing calls this directly

Calls 7

setPrimarySessionMethod · 0.95
resetDeltaRequestMethod · 0.95
endAccessMethod · 0.95
getManagerMethod · 0.65
setManagerMethod · 0.65
setValidMethod · 0.65
accessMethod · 0.65

Tested by

no test coverage detected