class documentation

class FilterByServer(HierarchicalBucketFilter): (source)

View In Hierarchy

A Hierarchical Bucket filter with a Bucket for each service.

Class Variable sweepInterval Undocumented
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.
Method __init__ Undocumented
Instance Variable buckets Undocumented
Instance Variable parentFilter Undocumented
Instance Variable lastSweep 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 21.2.0 at 2021-02-28 21:00:42.