Package org.infinispan.xsite.status
Interface SiteStatus
- All Known Implementing Classes:
AbstractMixedSiteStatus
,CacheMixedSiteStatus
,ContainerMixedSiteStatus
,OfflineSiteStatus
,OnlineSiteStatus
public interface SiteStatus
A site status.
A site could be online, offline or none of the previous. In the later case, it is consider in a mixed status and both
isOnline()
and isOffline()
returns false
.
- Since:
- 8.2
- Author:
- Pedro Ruivo
-
Method Summary
-
Method Details
-
isOnline
boolean isOnline()- Returns:
true
if the site is online.
-
isOffline
boolean isOffline()- Returns:
true
if the site is offline.
-