Class AgentSpacesProperties.ContentKeyRotation
java.lang.Object
ai.badmonkey.agentspaces.spring.AgentSpacesProperties.ContentKeyRotation
- Enclosing class:
AgentSpacesProperties
A group's content-key rotation settings (SPEC §11a.3, v0.1.13).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionHow long members have to fetch a new epoch before writers switch to it; unset means two gossip periods plus 30s, time for the holder's advertisement to spread and for members to fetch (review §15.3).How often this peer rotates the group's content key; unset (the default) means it never rotates on its own.How long a writer that has not yet fetched an announced epoch keeps sealing under the previous one before refusing to write (1h).voidsetCutoverDelay(Duration cutoverDelay) voidsetRotateEvery(Duration rotateEvery) voidsetWriterGrace(Duration writerGrace)
-
Constructor Details
-
ContentKeyRotation
public ContentKeyRotation()
-
-
Method Details
-
getRotateEvery
How often this peer rotates the group's content key; unset (the default) means it never rotates on its own. The nonce budget is fleet-wide, so rotate by time (SPEC §11a.3). -
setRotateEvery
-
getCutoverDelay
How long members have to fetch a new epoch before writers switch to it; unset means two gossip periods plus 30s, time for the holder's advertisement to spread and for members to fetch (review §15.3). -
setCutoverDelay
-
getWriterGrace
How long a writer that has not yet fetched an announced epoch keeps sealing under the previous one before refusing to write (1h). -
setWriterGrace
-