Class DefaultSandboxCleanupServices
java.lang.Object
com.broadleafcommerce.sandbox.service.cleanup.DefaultSandboxCleanupServices
ClusterService
responsible for interval polling of fully defunct, temporary
Sandbox
instances and converting into their archived state.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultSandboxCleanupServices
(CompletionCleanupProperties properties, SandboxRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, org.springframework.scheduling.TaskScheduler scheduler) -
Method Summary
-
Field Details
-
started
protected boolean started
-
-
Constructor Details
-
DefaultSandboxCleanupServices
public DefaultSandboxCleanupServices(CompletionCleanupProperties properties, SandboxRepository<com.broadleafcommerce.data.tracking.core.Trackable> repository, org.springframework.scheduling.TaskScheduler scheduler)
-
-
Method Details
-
start
public void start() -
stop
@PreDestroy public void stop() -
cleanup
protected void cleanup() -
getPause
protected long getPause() -
isStarted
public boolean isStarted()
-