public final class ExpirationManager extends Object
This background task can be accelerated or can be slowed down by using the system properties below:
These parameters can be set node-wide or system-wide
Node-wide setting example:
Config config = new Config(); config.setProperty( "hazelcast.internal.map.expiration.cleanup.operation.count", "3"); Hazelcast.newHazelcastInstance(config);
System-wide setting example:
System.setProperty( "hazelcast.internal.map.expiration.cleanup.operation.count", "3");
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_EXPIRATION_CLEANUP_PERCENTAGE |
static int |
DEFAULT_EXPIRATION_TASK_PERIOD_SECONDS |
static int |
DIFFERENCE_BETWEEN_TWO_SUBSEQUENT_PARTITION_CLEANUP_MILLIS |
static String |
SYS_PROP_EXPIRATION_CLEANUP_OPERATION_COUNT |
static String |
SYS_PROP_EXPIRATION_CLEANUP_PERCENTAGE |
static String |
SYS_PROP_EXPIRATION_TASK_PERIOD_SECONDS |
Constructor and Description |
---|
ExpirationManager(PartitionContainer[] partitionContainers,
NodeEngine nodeEngine) |
public static final int DEFAULT_EXPIRATION_TASK_PERIOD_SECONDS
public static final int DEFAULT_EXPIRATION_CLEANUP_PERCENTAGE
public static final int DIFFERENCE_BETWEEN_TWO_SUBSEQUENT_PARTITION_CLEANUP_MILLIS
public static final String SYS_PROP_EXPIRATION_CLEANUP_OPERATION_COUNT
public static final String SYS_PROP_EXPIRATION_TASK_PERIOD_SECONDS
public static final String SYS_PROP_EXPIRATION_CLEANUP_PERCENTAGE
public ExpirationManager(PartitionContainer[] partitionContainers, NodeEngine nodeEngine)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.