Class OlcbNodeGroupStore

    • Method Detail

      • load

        protected void load()
      • store

        protected void store()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • addNodeToGroup

        public void addNodeToGroup​(NodeID node,
                                   java.lang.String group)
        Add a Node to a group
      • removeGroup

        public void removeGroup​(java.lang.String group)
        Remove a group, including all the associations it contains
      • getGroupNames

        public java.util.List<java.lang.String> getGroupNames()
        Get alphanumerically-sorted List of existing group names
      • getGroupNodes

        public java.util.Set<NodeIDgetGroupNodes​(java.lang.String group)
        Get a Set of nodes in a group
      • getNodesGroups

        public java.util.List<java.lang.String> getNodesGroups​(NodeID node)
        Get an ordered set of groups a node belongs to.
      • isNodeInGroup

        public boolean isNodeInGroup​(NodeID node,
                                     java.lang.String group)
        Does a particular node belong to a specific group?