ControllerCanonicalWriter

org.sigilaris.node.jvm.runtime.application.v2.ControllerCanonicalWriter
See theControllerCanonicalWriter companion object

Installed once with the controller. The actual canonical effect executes while its gate is held, after the exact write intent was forced. apply must perform an idempotent durable CAS from priorDigest to payload; after an unknown result it must recognize the already-written identical effect. verify rechecks the retained immutable effect proof after restart, even if newer writes superseded its current pointer. No arbitrary per-call closure can substitute another writer or bypass the guard.

Attributes

Companion
object
Source
FenceController.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Attributes

Source
FenceController.scala
def verify(intent: ControllerWriteIntent, effect: Bytes): Result[IO, Unit]

Attributes

Source
FenceController.scala