MCPcopy Create free account
hub / github.com/apache/trafficserver / acquire

Method acquire

include/proxy/http/remap/UrlRewrite.h:96–101  ·  view source on GitHub ↗

The UrlRewrite object is-a RefCountObj, but this is a convenience to make it clear that we don't delete() these objects directly, but via the release() method only.

Source from the content-addressed store, hash-verified

94 // The UrlRewrite object is-a RefCountObj, but this is a convenience to make it clear that we
95 // don't delete() these objects directly, but via the release() method only.
96 UrlRewrite *
97 acquire()
98 {
99 this->refcount_inc();
100 return this;
101 }
102
103 void
104 release()

Callers

nothing calls this directly

Calls 1

refcount_incMethod · 0.80

Tested by

no test coverage detected