Class GridModel


  • public class GridModel
    extends java.lang.Object
    • Constructor Detail

      • GridModel

        public GridModel​(EventBus events)
    • Method Detail

      • refresh

        public void refresh​(NodeStatus status)
      • touch

        public void touch​(NodeId id)
      • remove

        public void remove​(NodeId id)
      • purgeDeadNodes

        public void purgeDeadNodes()
      • setAvailability

        public void setAvailability​(NodeId id,
                                    Availability availability)
      • reserve

        public boolean reserve​(SlotId slotId)
      • getSnapshot

        public java.util.Set<NodeStatus> getSnapshot()
      • release

        public void release​(SessionId id)
      • setSession

        public void setSession​(SlotId slotId,
                               Session session)
      • updateHealthCheckCount

        public void updateHealthCheckCount​(NodeId id,
                                           Availability availability)