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

Method reset

java/org/apache/catalina/ha/session/DeltaRequest.java:377–387  ·  view source on GitHub ↗

Reset this request, returning all action objects to the pool.

()

Source from the content-addressed store, hash-verified

375 * Reset this request, returning all action objects to the pool.
376 */
377 public void reset() {
378 while (!actions.isEmpty()) {
379 try {
380 AttributeInfo info = actions.removeFirst();
381 info.recycle();
382 actionPool.addLast(info);
383 } catch (Exception e) {
384 log.error(sm.getString("deltaRequest.removeUnable"), e);
385 }
386 }
387 }
388
389 /**
390 * Get the session identifier.

Callers 4

executeMethod · 0.95
readExternalMethod · 0.95
getDiffMethod · 0.95

Calls 6

recycleMethod · 0.95
removeFirstMethod · 0.80
addLastMethod · 0.80
errorMethod · 0.65
getStringMethod · 0.65
isEmptyMethod · 0.45

Tested by

no test coverage detected