public class HazelcastClientFactory extends Object
HazelcastInstance
.Constructor and Description |
---|
HazelcastClientFactory(com.hazelcast.client.config.ClientConfig clientConfig)
Create a
HazelcastClientFactory for the specified configuration. |
HazelcastClientFactory(Resource clientConfigLocation)
Create a
HazelcastClientFactory for the specified configuration location. |
Modifier and Type | Method and Description |
---|---|
com.hazelcast.core.HazelcastInstance |
getHazelcastInstance()
Get the
HazelcastInstance . |
public HazelcastClientFactory(Resource clientConfigLocation) throws IOException
HazelcastClientFactory
for the specified configuration location.clientConfigLocation
- the location of the configuration fileIOException
- if the configuration location could not be readpublic HazelcastClientFactory(com.hazelcast.client.config.ClientConfig clientConfig)
HazelcastClientFactory
for the specified configuration.clientConfig
- the configurationCopyright © 2017 Pivotal Software, Inc.. All rights reserved.