Interface ClusterEnvironmentProvider


@PublicSpi public interface ClusterEnvironmentProvider
Allows to check if the application (e.g. JIRA) is running in the cluster environment
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Default single node implementation (always false) just for convenience This value must be used for single node environments only
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
  • Field Details

    • SINGLE_NODE

      static final ClusterEnvironmentProvider SINGLE_NODE
      Default single node implementation (always false) just for convenience This value must be used for single node environments only
  • Method Details

    • isInCluster

      boolean isInCluster()
      Returns:
      true if the application is running within the cluster environment