Uses of Record Class
com.tnsai.coordination.lifecycle.GroupCheckpoint.Snapshot
Packages that use GroupCheckpoint.Snapshot
-
Uses of GroupCheckpoint.Snapshot in com.tnsai.coordination.lifecycle
Methods in com.tnsai.coordination.lifecycle that return GroupCheckpoint.SnapshotModifier and TypeMethodDescriptionstatic GroupCheckpoint.SnapshotGroupCheckpoint.capture(com.tnsai.agents.groups.AgentGroup group) Captures a snapshot of the current group state.static GroupCheckpoint.SnapshotLoads a snapshot from a JSON file.Methods in com.tnsai.coordination.lifecycle with parameters of type GroupCheckpoint.SnapshotModifier and TypeMethodDescriptionstatic booleanGroupRecovery.canRecover(GroupCheckpoint.Snapshot snapshot, Map<String, com.tnsai.agents.Agent> availableAgents) Checks whether a snapshot can be fully recovered given the available agents.static voidGroupRecovery.restore(DefaultAgentGroup group, GroupCheckpoint.Snapshot snapshot, Map<String, com.tnsai.agents.Agent> availableAgents) Restores a group from a checkpoint by re-adding the agents that were members at the time of the snapshot.static voidGroupCheckpoint.save(GroupCheckpoint.Snapshot snapshot, Path path) Saves a snapshot to a file in JSON format.