o

nelson.cleanup

GarbageCollector

object GarbageCollector

The GarbageCollector is a process that periodically traverses the CleanupGraph and marks deployments as garbage. Any deployment that is marked as garbage becomes a candidate for cleanup.

Source
GarbageCollector.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GarbageCollector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def expired(d: DeploymentCtx): Boolean
  2. def mark(cfg: NelsonConfig): Pipe[IO, CleanupRow, CleanupRow]

    A Pipe that captures the output of the ExpirationPolicy process.

    A Pipe that captures the output of the ExpirationPolicy process. This should be run after the ExpirationPolicy process to guard against the case where the ExpirationPolicy process fails and GC eagerly marks deployments that it shouldn't.

  3. def markAsGarbage(d: Deployment): StoreOpF[Deployment]