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

LiteMember friendly Hazelcast.newHazelcastInstance #333

Closed
pveentjer opened this issue Oct 25, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@pveentjer
Copy link
Member

commented Oct 25, 2012

With the current newHazelcastInstance(null) there is a whole loading mechanism that checks system properties and else it loads defaults. It works very fine.. except when you need a lite member since it can't be specified in the config file and therefor you need to do the whole loading mechanism yourself.

Also loading creating a newHazelcastInstance(null) feels strange.. who wants to pass a null.

So I'm suggesting to add the following 2 methods:

public static HazelcastInstance newHazelcastInstance()

public static HazelcastInstance newLiteMemberHazelcastInstance()

@ghost ghost assigned pveentjer Oct 25, 2012

@pveentjer pveentjer closed this in 9a5389c Oct 25, 2012

pveentjer pushed a commit that referenced this issue Oct 25, 2012

mdogan added a commit that referenced this issue Oct 30, 2012

Merge pull request #334 from hazelcast/333-newHazelcastInstance-impro…
…vements

fix #333 : newHazelcastInstance Improvements

mdogan added a commit that referenced this issue Oct 30, 2012

fix #333 : improved documentation
(cherry picked from commit a7d1916)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.