Class HazelcastConfigResourceCondition.HazelcastInstanceConfigCondition
java.lang.Object
io.micronaut.cache.hazelcast.condition.HazelcastConfigResourceCondition
io.micronaut.cache.hazelcast.condition.HazelcastConfigResourceCondition.HazelcastInstanceConfigCondition
- All Implemented Interfaces:
io.micronaut.context.condition.Condition
,Predicate<io.micronaut.context.condition.ConditionContext>
- Enclosing class:
- HazelcastConfigResourceCondition
public static class HazelcastConfigResourceCondition.HazelcastInstanceConfigCondition
extends HazelcastConfigResourceCondition
Condition that matches if any instance config file exists.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.micronaut.cache.hazelcast.condition.HazelcastConfigResourceCondition
HazelcastConfigResourceCondition.HazelcastClientConfigCondition, HazelcastConfigResourceCondition.HazelcastInstanceConfigCondition
-
Field Summary
Fields inherited from class io.micronaut.cache.hazelcast.condition.HazelcastConfigResourceCondition
CLIENT_CONFIG_FILES, INSTANCE_CONFIG_FILES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(io.micronaut.context.condition.ConditionContext context) Methods inherited from class io.micronaut.cache.hazelcast.condition.HazelcastConfigResourceCondition
resourceExists
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.context.condition.Condition
test
-
Constructor Details
-
HazelcastInstanceConfigCondition
public HazelcastInstanceConfigCondition()
-
-
Method Details
-
matches
public boolean matches(io.micronaut.context.condition.ConditionContext context) - Specified by:
matches
in interfaceio.micronaut.context.condition.Condition
- Overrides:
matches
in classHazelcastConfigResourceCondition
-