Table of Contents

Interface IErasureHoldReevaluationProcessor

Namespace
Excalibur.Compliance
Assembly
Excalibur.Compliance.Abstractions.dll

Returns erasure requests that a legal hold deferred to the executable state once no hold blocks them.

public interface IErasureHoldReevaluationProcessor

Remarks

A legal hold lawfully defers an erasure rather than failing it, so a deferred request is not finished and the controller's obligation to erase is not discharged. Without this pass the deferral is permanent: nothing re-examines the hold, so releasing or letting a hold lapse leaves the request deferred forever with no signal to anyone.

The pass grants ELIGIBILITY, never permission to erase. It returns a request to the scheduled state and nothing more; the executor re-checks holds after it claims the request, and again before each irreversible destruction, so a hold created between this pass and the execution costs one wasted claim cycle rather than erasing held data.

A host without a background service -- a serverless function, a scheduled job -- calls this directly, which is why it is part of the consumer surface rather than internal.

Methods

ReevaluateDeferredErasuresAsync(CancellationToken)

Re-examines every erasure request a legal hold has deferred and returns the ones no longer blocked to the scheduled state.

Task<int> ReevaluateDeferredErasuresAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancellation token.

Returns

Task<int>

The number of requests returned to the scheduled state by this pass.