Class EvictionTaskFactory
java.lang.Object
org.gridgain.internal.eviction.task.EvictionTaskFactory
Factory for creating eviction tasks.
-
Constructor Summary
ConstructorsConstructorDescriptionEvictionTaskFactory(ScheduledExecutorService scheduledExecutorService, org.apache.ignite.internal.lowwatermark.LowWatermark lowWatermark, org.apache.ignite.internal.schema.configuration.LowWatermarkConfiguration lowWatermarkConfig, org.apache.ignite.internal.hlc.ClockService clockService, org.apache.ignite.internal.catalog.CatalogManager catalogManager, org.apache.ignite.internal.table.distributed.TableManager tableManager, org.apache.ignite.internal.schema.SchemaManager schemaManager, PrimaryReplicaProvider primaryReplicaProvider, org.apache.ignite.internal.failure.FailureProcessor failureProcessor, org.apache.ignite.internal.components.NodeProperties nodeProperties) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncreateEvictionTask(String regionName, org.apache.ignite.internal.storage.pagememory.configuration.schema.EvictionView evictionView) Creates an eviction task based on the eviction mode.
-
Constructor Details
-
EvictionTaskFactory
public EvictionTaskFactory(ScheduledExecutorService scheduledExecutorService, org.apache.ignite.internal.lowwatermark.LowWatermark lowWatermark, org.apache.ignite.internal.schema.configuration.LowWatermarkConfiguration lowWatermarkConfig, org.apache.ignite.internal.hlc.ClockService clockService, org.apache.ignite.internal.catalog.CatalogManager catalogManager, org.apache.ignite.internal.table.distributed.TableManager tableManager, org.apache.ignite.internal.schema.SchemaManager schemaManager, PrimaryReplicaProvider primaryReplicaProvider, org.apache.ignite.internal.failure.FailureProcessor failureProcessor, org.apache.ignite.internal.components.NodeProperties nodeProperties) Constructor.- Parameters:
scheduledExecutorService- Scheduled executor service.lowWatermark- Low watermark.lowWatermarkConfig- Low watermark configuration.clockService- Clock service.catalogManager- Catalog manager.tableManager- Table manager.schemaManager- Schema manager.
-
-
Method Details
-
createEvictionTask
public EvictionTask createEvictionTask(String regionName, org.apache.ignite.internal.storage.pagememory.configuration.schema.EvictionView evictionView) Creates an eviction task based on the eviction mode.- Parameters:
regionName- Region name.evictionView- Eviction configuration view.
-