class documentation

class FilterByHost(HierarchicalBucketFilter): (source)

View In Hierarchy

A Hierarchical Bucket filter with a Bucket for each host.
Method get​Bucket​Key Construct a key based on the input parameters to choose a Bucket.
Class Variable sweep​Interval Undocumented

Inherited from HierarchicalBucketFilter:

Method __init__ Undocumented
Method get​Bucket​For Find or create a Bucket corresponding to the provided parameters.
Method sweep Remove empty buckets.
Class Variable bucket​Factory Class of buckets to make.
Instance Variable buckets Undocumented
Instance Variable last​Sweep Undocumented
Instance Variable parent​Filter Undocumented
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.

Returns
Something to be used as a key in the bucket cache.