Would that be possible? I'm trying to manage the buckets on a shared cache (Hazelcast). To do that TokenBucketImpl must be serializable.