Part of twisted.protocols.htb View Source View In Hierarchy
Method | getBucketKey | I determine who gets which bucket. |
Inherited from HierarchicalBucketFilter:
Class Variable | bucketFactory | Class of buckets to make. (type: Bucket class) |
Class Variable | sweepInterval | Seconds between sweeping out the bucket cache. (type: int) |
Method | __init__ | Undocumented |
Method | getBucketFor | You want a bucket for that? I'll give you a bucket. |
Method | sweep | I throw away references to empty buckets. |
Unless I'm overridden, everything gets the same bucket.
Returns | something to be used as a key in the bucket cache. |