Package org.appng.core.service
Class HazelcastConfigurer
- java.lang.Object
-
- org.appng.core.service.HazelcastConfigurer
-
public class HazelcastConfigurer extends Object
Utility class to retrieve theHazelcastInstance
to be used by appNG. This instance is then being used byCacheService
and also byHazelcastReceiver
.- Author:
- Matthias Müller
-
-
Field Summary
Fields Modifier and Type Field Description static String
HAZELCAST_USE_CLIENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.hazelcast.core.HazelcastInstance
getInstance(PlatformProperties platformProperties)
static com.hazelcast.core.HazelcastInstance
getInstance(PlatformProperties platformProperties, String clientId)
static boolean
isClient()
static void
shutdown()
-
-
-
Field Detail
-
HAZELCAST_USE_CLIENT
public static final String HAZELCAST_USE_CLIENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static com.hazelcast.core.HazelcastInstance getInstance(PlatformProperties platformProperties)
-
getInstance
public static com.hazelcast.core.HazelcastInstance getInstance(PlatformProperties platformProperties, String clientId)
-
shutdown
public static void shutdown()
-
isClient
public static boolean isClient()
-
-