Class OfflineSiteStatus

java.lang.Object
org.infinispan.xsite.status.OfflineSiteStatus
All Implemented Interfaces:
SiteStatus

public class OfflineSiteStatus extends Object implements SiteStatus
SiteStatus implementation for offline sites. This class is a singleton and its instance is accessible via getInstance().
Since:
8.2
Author:
Pedro Ruivo
  • Method Details

    • getInstance

      public static OfflineSiteStatus getInstance()
    • isOnline

      public boolean isOnline()
      Specified by:
      isOnline in interface SiteStatus
      Returns:
      true if the site is online.
    • isOffline

      public boolean isOffline()
      Specified by:
      isOffline in interface SiteStatus
      Returns:
      true if the site is offline.