Class GroupMapping

java.lang.Object
com.gigaspaces.internal.cluster.node.impl.GroupMapping

public class GroupMapping extends Object
Represents mapping of IReplicationSourceGroups that is used to determine to which groups to dispatch outgoing replication
Since:
8.0
Author:
eitany
See Also:
  • Method Details

    • createSpecificMapping

      public static GroupMapping createSpecificMapping(String... specificGroups)
      Create a group mapping representing specific named groups
      Parameters:
      specificGroups - mapped groups
    • getAllMapping

      public static GroupMapping getAllMapping()
      Gets a group mapping representing all existing groups
    • getSpecificGroups

      public String[] getSpecificGroups()
      Gets the mapped groups
      Returns:
      null indicated all groups
    • hasSpecificGroups

      public boolean hasSpecificGroups()
      Gets if this mapping has specific groups or it is representing all groups
    • toString

      public String toString()
      Overrides:
      toString in class Object