Class ChatPresence

java.lang.Object
com.axelor.ai.chat.stream.ChatPresence

@Singleton public class ChatPresence extends Object
Cluster-wide "who has which chat open": one entry per (room, user, session), refreshed by the client's ~25s re-JOIN heartbeat and expiring shortly after it stops — dead sessions (no close frame) self-heal within one TTL. Shared by the websocket channel (facepile pushes) and the pending-call expiry (initiator-gone detection).
  • Constructor Details

    • ChatPresence

      @Inject public ChatPresence(com.fasterxml.jackson.databind.ObjectMapper mapper)
  • Method Details