@Override
    public AbstractBucket obtainBucket(final String key) {
        return store.computeIfAbsent(key, k -> (AbstractBucket) getBucketLimits().build());
    }
This is {@link InMemoryBucketStore}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-bucket4j-core/src/main/java/org/apereo/cas/bucket4j/producer/InMemoryBucketStore.java