Class AgentSpacesProperties.ContentKeyRotation

java.lang.Object
ai.badmonkey.agentspaces.spring.AgentSpacesProperties.ContentKeyRotation
Enclosing class:
AgentSpacesProperties

public static class AgentSpacesProperties.ContentKeyRotation extends Object
A group's content-key rotation settings (SPEC §11a.3, v0.1.13).
  • Constructor Details

    • ContentKeyRotation

      public ContentKeyRotation()
  • Method Details

    • getRotateEvery

      public Duration 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

      public void setRotateEvery(Duration rotateEvery)
    • getCutoverDelay

      public Duration 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

      public void setCutoverDelay(Duration cutoverDelay)
    • getWriterGrace

      public Duration 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

      public void setWriterGrace(Duration writerGrace)