Interface MemberIdentityProvider

    • Field Detail

      • PROPERTY

        static final String PROPERTY
        The System property to use to set the name of the identity provider class to use.

        This will take precedence over any providers discovered by the ServiceLoader

        See Also:
        Constant Field Values
    • Method Detail

      • getMachineName

        String getMachineName()
        Return the name for the Machine (such as a host name) in which this Member resides. This name is used for logging purposes and to differentiate among multiple servers, and may be used as the basis for determining the MachineId property.
        Returns:
        the configured Machine name or null
      • getMemberName

        String getMemberName()
        Return the name for the Member. This name is used for logging purposes and to differentiate among Members running within a particular process.
        Returns:
        the configured Member name or null
      • getRackName

        String getRackName()
        Return the name for the Rack (such as a physical rack, cage or blade frame) in which this Member resides. This name is used for logging purposes and to differentiate among multiple racks within a particular data center, for example.
        Returns:
        the configured Rack name or null
      • getSiteName

        String getSiteName()
        Return the name for the Site (such as a data center) in which this Member resides. This name is used for logging purposes and to differentiate among multiple geographic sites.
        Returns:
        the configured Site name or null
      • getRoleName

        String getRoleName()
        Return the role name for the Member. This role is completely definable by the application, and can be used to determine what Members to use for specific purposes.
        Returns:
        the configured role name for the Member or null
      • setDependencies

        default void setDependencies​(ClusterDependencies deps)
        Set the cluster dependencies.
        Parameters:
        deps - the cluster dependencies