PolicySpec

class PolicySpec

Contains all policy parameters, if any.

__init__(size_curb: int) None[source]

Construct the policy spec.

Parameters

size_curbint, optional

Fixed, hard-limited stratum storage capacity to make best use of.

Inclusive. Only size caps of eight strata and above are guaranteed respected. (Initialization of smaller size caps will warn.)

Methods

static GetAlgoIdentifier() str[source]

Get programatic name for underlying retention algorithm.

static GetAlgoTitle() str[source]

Get human-readable name for underlying retention algorithm.

GetEvalCtor() str[source]
GetSizeCurb() int[source]
__init__(size_curb: int) None[source]

Construct the policy spec.

Parameters

size_curbint, optional

Fixed, hard-limited stratum storage capacity to make best use of.

Inclusive. Only size caps of eight strata and above are guaranteed respected. (Initialization of smaller size caps will warn.)

__repr__() str[source]

Return repr(self).

__str__() str[source]

Return str(self).