Package org.infinispan.xsite.status
Class OfflineSiteStatus
java.lang.Object
org.infinispan.xsite.status.OfflineSiteStatus
- All Implemented Interfaces:
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 Summary
-
Method Details
-
getInstance
-
isOnline
public boolean isOnline()- Specified by:
isOnline
in interfaceSiteStatus
- Returns:
true
if the site is online.
-
isOffline
public boolean isOffline()- Specified by:
isOffline
in interfaceSiteStatus
- Returns:
true
if the site is offline.
-