Package org.infinispan.xsite.status
Class OnlineSiteStatus
java.lang.Object
org.infinispan.xsite.status.OnlineSiteStatus
- All Implemented Interfaces:
SiteStatus
SiteStatus
implementation for online 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.
-