Skip to main content

IndexKeys

Struct IndexKeys 

Source
pub struct IndexKeys { /* private fields */ }
Expand description

Index keys scoped to a single execution partition.

Implementations§

Source§

impl IndexKeys

Source

pub fn new(partition: &Partition) -> Self

Source

pub fn lane_eligible(&self, lane_id: &LaneId) -> String

ff:idx:{p:N}:lane:<lane_id>:eligible

Source

pub fn lane_delayed(&self, lane_id: &LaneId) -> String

ff:idx:{p:N}:lane:<lane_id>:delayed

Source

pub fn lane_active(&self, lane_id: &LaneId) -> String

ff:idx:{p:N}:lane:<lane_id>:active

Source

pub fn lane_terminal(&self, lane_id: &LaneId) -> String

ff:idx:{p:N}:lane:<lane_id>:terminal

Source

pub fn lane_blocked_dependencies(&self, lane_id: &LaneId) -> String

ff:idx:{p:N}:lane:<lane_id>:blocked:dependencies

Source

pub fn lane_blocked_budget(&self, lane_id: &LaneId) -> String

ff:idx:{p:N}:lane:<lane_id>:blocked:budget

Source

pub fn lane_blocked_quota(&self, lane_id: &LaneId) -> String

ff:idx:{p:N}:lane:<lane_id>:blocked:quota

Source

pub fn lane_blocked_route(&self, lane_id: &LaneId) -> String

ff:idx:{p:N}:lane:<lane_id>:blocked:route

Source

pub fn lane_blocked_operator(&self, lane_id: &LaneId) -> String

ff:idx:{p:N}:lane:<lane_id>:blocked:operator

Source

pub fn lane_suspended(&self, lane_id: &LaneId) -> String

ff:idx:{p:N}:lane:<lane_id>:suspended

Source

pub fn waitpoint_hmac_secrets(&self) -> String

ff:sec:{p:N}:waitpoint_hmac — HMAC signing secrets replicated across every execution partition (RFC-004 §Waitpoint Security). Hash fields: current_kid, previous_kid, secret:<kid> (hex), previous_expires_at. Replication is required for cluster mode: every FCALL that mints or validates a token must hash-tag-collocate this key with the rest of its execution-partition KEYS. The secret value is identical across partitions; rotation fans out HSETs across them.

Source

pub fn lease_expiry(&self) -> String

ff:idx:{p:N}:lease_expiry — Cross-lane lease expiry scanner target.

Source

pub fn worker_leases(&self, wid: &WorkerInstanceId) -> String

ff:idx:{p:N}:worker:<worker_instance_id>:leases

Source

pub fn suspension_timeout(&self) -> String

ff:idx:{p:N}:suspension_timeout

Source

pub fn pending_waitpoint_expiry(&self) -> String

ff:idx:{p:N}:pending_waitpoint_expiry

Source

pub fn attempt_timeout(&self) -> String

ff:idx:{p:N}:attempt_timeout

Source

pub fn execution_deadline(&self) -> String

ff:idx:{p:N}:execution_deadline

Source

pub fn all_executions(&self) -> String

ff:idx:{p:N}:all_executions

Source

pub fn partition_signal_delivery(&self) -> String

ff:part:{fp:N}:signal_delivery — partition-level aggregate stream that ff_deliver_signal XADDs into on every successful delivery. subscribe_signal_delivery XREAD BLOCKs this key. RFC-019 Stage B / #310.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.