Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New a method to get current rate setting for JCache/Hazelcast integration. #53

Closed
kchenhal opened this issue Dec 21, 2017 · 3 comments
Closed

Comments

@kchenhal
Copy link

Right now the Bucket.getConfiguration() only return the value provided in configuration Supplier. it did not reflect the true setting when integrated with JCache, or Hazelcast.

vladimir-bukhtoyarov pushed a commit that referenced this issue Dec 26, 2017
vladimir-bukhtoyarov pushed a commit that referenced this issue Dec 26, 2017
vladimir-bukhtoyarov pushed a commit that referenced this issue Dec 26, 2017
…unessesary since 'getConfiguration' method removed from Bucket interface
vladimir-bukhtoyarov pushed a commit that referenced this issue Dec 26, 2017
…unessesary since 'getConfiguration' method removed from Bucket interface
@vladimir-bukhtoyarov
Copy link
Collaborator

getConfiguration method removed from bucket interface in order to avoid undefined behavior. Instead following ways added:

@vladimir-bukhtoyarov
Copy link
Collaborator

@kchenhal please provide feedback for #53 and #54 using following dependency

<dependency>
    <groupId>com.github.vladimir-bukhtoyarov</groupId>
    <artifactId>bucket4j-core</artifactId>
    <version>3.1.0-rc1</version>
</dependency>

If all will work fine for you then I will release version 3.1.0

@vladimir-bukhtoyarov
Copy link
Collaborator

released!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants