GarbageCollectionConfig

graviton.runtime.config.GarbageCollectionConfig
See theGarbageCollectionConfig companion object
final case class GarbageCollectionConfig(maxReferencesPerPartition: Int = ..., maximumPartitionDepth: Int = ..., maxCompatibilityReferences: Int = ..., maxCompatibilityReceipts: Int = ..., workspaceDirectory: Option[Path] = ...)

Resource limits and operator-controlled workspace placement for repository garbage collection.

The configuration is deliberately separate from the storage ports. It can be supplied directly in tests or loaded through ZIO Config from GRAVITON_GC_* environment variables. The reference-partition limit is a heap cardinality bound: a sweep holds at most that many block keys in one partition set, plus a 256-record I/O batch and a backend cursor/page.

Attributes

Companion
object
Source
GarbageCollectionConfig.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala