Class ContainerSiteStatusBuilder


  • public class ContainerSiteStatusBuilder
    extends AbstractSiteStatusBuilder<java.lang.String>
    A per-container SiteStatus builder.

    It builds a SiteStatus based on the caches which have the site online, offline or mixed status.

    Since:
    8.2
    Author:
    Pedro Ruivo
    • Constructor Detail

      • ContainerSiteStatusBuilder

        public ContainerSiteStatusBuilder()
    • Method Detail

      • mixedOn

        public void mixedOn​(java.lang.String cacheName)
        Adds the cache with an mixed connection to the site.
        Parameters:
        cacheName - The cache name.
      • addCacheName

        public void addCacheName​(java.lang.String cacheName,
                                 SiteStatus status)
        Adds the cache with the SiteStatus connection to the site.
        Parameters:
        cacheName - The cache name.
        status - SiteStatus of the site.