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

Cleanup HazelcastCachingProvider #15890

Merged

Conversation

vbekiaris
Copy link
Contributor

@vbekiaris vbekiaris commented Oct 29, 2019

Removes public static factory methods from member- and client-side
caching providers. Adds javadoc to HazelcastCachingProvider to clarify
caching provider and cache manager creation options, indicate how to
start or reuse HazelcastInstances and removes out-of-date
information.
Also, shared code between server & client caching providers has been
pulled up to AbstractHazelcastCachingProvider. The client/server-specific
parts are now in smaller methods in their respective implementations.

Fixes #15144
Fixes #11190

EE counterpart: https://github.com/hazelcast/hazelcast-enterprise/pull/3294

@vbekiaris vbekiaris added this to the 4.0 milestone Oct 29, 2019
@vbekiaris vbekiaris requested a review from a team as a code owner October 29, 2019 23:18
@vbekiaris vbekiaris self-assigned this Oct 29, 2019
@vbekiaris vbekiaris force-pushed the fixes/4.0/cleanup-caching-provider branch from 61f5f70 to 888070d Compare November 1, 2019 15:20
@vbekiaris vbekiaris force-pushed the fixes/4.0/cleanup-caching-provider branch from 888070d to 338385d Compare November 1, 2019 15:25
Removes public static factory methods from member- and client-side
caching providers. Adds javadoc to HazelcastCachingProvider to clarify
caching provider and cache manager creation options, indicate how to
start or reuse HazelcastInstances and removes some out-of-date
information.
Shared code for get-or-create HazelcastInstance that backs CacheManager
has been pulled up to AbstractHazelcastCachingProvider. Server/client-
specific pieces have been extracted to smaller methods in the
respective implementations.
@vbekiaris vbekiaris force-pushed the fixes/4.0/cleanup-caching-provider branch from 338385d to 9e9dc59 Compare November 5, 2019 07:52
@vbekiaris
Copy link
Contributor Author

run-lab-run

1 similar comment
@vbekiaris
Copy link
Contributor Author

run-lab-run

@vbekiaris vbekiaris merged commit c339a29 into hazelcast:master Nov 6, 2019
@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make HazelcastServerCachingProvider.createCachingProvider package-private Cleanup CachingProvider code
4 participants