AtomSpace::PartitionInfoCache
Inherits Reference < Object
Remote partition info cache - caches partition information from remote queries Reduces repeated network lookups for partition ownership
Constructors
new(max_size : Int32 = 50000, ttl : Time::Span = 5.minutes)
Instance methods
clear
get(atom_handle : String) : PartitionInfo | Nil
invalidate(atom_handle : String)
invalidate_node(node_id : String)
put(atom_handle : String, node_id : String, replicas : Array(String) = [] of String, verified : Bool = false)
size
stats