Package org.gridgain.internal.eviction
Class EvictionManager
java.lang.Object
org.gridgain.internal.eviction.EvictionManager
- All Implemented Interfaces:
org.apache.ignite.internal.lang.Debuggable,org.apache.ignite.internal.manager.IgniteComponent
public class EvictionManager
extends Object
implements org.apache.ignite.internal.manager.IgniteComponent
Manages data eviction.
-
Field Summary
Fields inherited from interface org.apache.ignite.internal.lang.Debuggable
INDENTATION -
Constructor Summary
ConstructorsConstructorDescriptionEvictionManager(String nodeName, org.gridgain.internal.eviction.configuration.EvictionConfiguration evictionConfiguration, org.apache.ignite.internal.storage.pagememory.VolatilePageMemoryStorageEngine storageEngine, ExecutorService executorService, ScheduledExecutorService scheduledExecutorService, EvictionTaskFactory evictionTaskFactory, org.gridgain.internal.license.LicenseFeatureChecker licenseChecker, org.apache.ignite.internal.failure.FailureProcessor failureProcessor) Creates an instance of the eviction manager. -
Method Summary
Modifier and TypeMethodDescriptionstartAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.ignite.internal.lang.Debuggable
dumpStateMethods inherited from interface org.apache.ignite.internal.manager.IgniteComponent
beforeNodeStop, stopAsync
-
Constructor Details
-
EvictionManager
public EvictionManager(String nodeName, org.gridgain.internal.eviction.configuration.EvictionConfiguration evictionConfiguration, org.apache.ignite.internal.storage.pagememory.VolatilePageMemoryStorageEngine storageEngine, ExecutorService executorService, ScheduledExecutorService scheduledExecutorService, EvictionTaskFactory evictionTaskFactory, org.gridgain.internal.license.LicenseFeatureChecker licenseChecker, org.apache.ignite.internal.failure.FailureProcessor failureProcessor) Creates an instance of the eviction manager.- Parameters:
nodeName- Node name.evictionConfiguration- Eviction configuration.storageEngine- Storage engine.executorService- Executor service.scheduledExecutorService- Scheduled executor service.evictionTaskFactory- Eviction task factory.licenseChecker- License checker.failureProcessor- Failure processor.
-
-
Method Details
-
startAsync
public CompletableFuture<Void> startAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) - Specified by:
startAsyncin interfaceorg.apache.ignite.internal.manager.IgniteComponent
-
stopAsync
public CompletableFuture<Void> stopAsync(org.apache.ignite.internal.manager.ComponentContext componentContext) - Specified by:
stopAsyncin interfaceorg.apache.ignite.internal.manager.IgniteComponent
-