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

Method recycle

java/org/apache/tomcat/util/http/ServerCookies.java:112–117  ·  view source on GitHub ↗

Recycles all stored cookies and resets the cookie count to zero.

()

Source from the content-addressed store, hash-verified

110 * Recycles all stored cookies and resets the cookie count to zero.
111 */
112 public void recycle() {
113 for (int i = 0; i < cookieCount; i++) {
114 serverCookies[i].recycle();
115 }
116 cookieCount = 0;
117 }
118}

Callers 1

testPerformance01Method · 0.95

Calls 1

recycleMethod · 0.65

Tested by 1

testPerformance01Method · 0.76