class HierarchicalBucketFilter: (source)
Known subclasses: twisted.protocols.htb.FilterByHost
, twisted.protocols.htb.FilterByServer
Implements interfaces: twisted.protocols.htb.IBucketFilter
Method | __init__ |
Undocumented |
Method | getBucketFor |
Find or create a Bucket corresponding to the provided parameters. |
Method | getBucketKey |
Construct a key based on the input parameters to choose a Bucket . |
Method | sweep |
Remove empty buckets. |
Class Variable | bucketFactory |
Class of buckets to make. |
Class Variable | sweepInterval |
Seconds between sweeping out the bucket cache. |
Instance Variable | buckets |
Undocumented |
Instance Variable | lastSweep |
Undocumented |
Instance Variable | parentFilter |
Undocumented |
Find or create a Bucket
corresponding to the provided parameters.
Any parameters are passed on to getBucketKey
, from them it decides which bucket you get.
Returns | |
Bucket | Undocumented |