A Hierarchical Bucket filter with a Bucket for each service.

Method getBucketKey Construct a key based on the input parameters to choose a Bucket.

Inherited from HierarchicalBucketFilter:

Class Variable bucketFactory Class of buckets to make. (type: Bucket)
Class Variable sweepInterval Seconds between sweeping out the bucket cache. (type: int)
Method __init__ Undocumented
Method getBucketFor Find or create a Bucket corresponding to the provided parameters.
Method sweep Remove empty buckets.
def getBucketKey(self, transport): (source)

Construct a key based on the input parameters to choose a Bucket.

The default implementation returns the same key for all arguments. Override this method to provide Bucket selection.

ReturnsSomething to be used as a key in the bucket cache.
API Documentation for Twisted, generated by pydoctor at 2018-10-15 19:29:43.