trait PruningSchedulerStore extends AutoCloseable
Stores for the pruning scheduler parameters such as the cron schedule and pruning retention period
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- PruningSchedulerStore
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def clearSchedule()(implicit tc: TraceContext): Future[Unit]
Clears the pruning scheduler's cron schedule deactivating background pruning
- abstract def close(): Unit
- Definition Classes
- AutoCloseable
- Annotations
- @throws(classOf[java.lang.Exception])
- implicit abstract def ec: ExecutionContext
- abstract def getSchedule()(implicit tc: TraceContext): Future[Option[PruningSchedule]]
Queries the pruning scheduler's schedule and retention
- abstract def setSchedule(schedule: PruningSchedule)(implicit tc: TraceContext): Future[Unit]
Inserts or updates the pruning scheduler's cron with associated maximum duration and retention
- abstract def updateCron(cron: Cron)(implicit tc: TraceContext): EitherT[Future, String, Unit]
Updates the cron
- abstract def updateMaxDuration(maxDuration: PositiveSeconds)(implicit tc: TraceContext): EitherT[Future, String, Unit]
Updates the maximum duration
- abstract def updateRetention(retention: PositiveSeconds)(implicit tc: TraceContext): EitherT[Future, String, Unit]
Updates the pruning retention
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])