mirror of https://github.com/apache/nifi.git
NIFI-12509 Changing default TTL of HazelcastMapCacheClient
This closes #8154. Signed-off-by: Peter Turcsanyi <turcsanyi@apache.org>
This commit is contained in:
parent
c272574dcc
commit
3c4ccd2c64
|
@ -78,10 +78,11 @@ public class HazelcastMapCacheClient extends AbstractControllerService implement
|
|||
.name("hazelcast-entry-ttl")
|
||||
.displayName("Hazelcast Entry Lifetime")
|
||||
.description("Indicates how long the written entries should exist in Hazelcast. Setting it to '0 secs' means that the data" +
|
||||
"will exists until its deletion or until the Hazelcast server is shut down.")
|
||||
"will exists until its deletion or until the Hazelcast server is shut down. Using `EmbeddedHazelcastCacheManager` as" +
|
||||
"cache manager will not provide policies to limit the size of the cache.")
|
||||
.required(true)
|
||||
.addValidator(StandardValidators.TIME_PERIOD_VALIDATOR)
|
||||
.defaultValue("0 secs") // Note: in case of Hazelcast IMap, negative value would mean "map default" which might be overridden by a different client.
|
||||
.defaultValue("5 min") // Note: in case of Hazelcast IMap, negative value would mean "map default" which might be overridden by a different client.
|
||||
.build();
|
||||
|
||||
private static final long STARTING_REVISION = 1;
|
||||
|
|
Loading…
Reference in New Issue