hash with counter, to store requests, and count each time it is used
hash
(list) a list for internal use only, with elements
key
, sig
, and count
put()
Register a request by it's key
HashCounter$put(req_sig)
req_sig
an object of class RequestSignature
nothing returned; registers request and iterates internal counter
req_sig
an object of class RequestSignature
(integer) the count of how many times the request has been made
clone()
The objects of this class are cloneable with this method.
HashCounter$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other request-registry:
RequestRegistry
,
request_registry()