org.infinispan.xsite.status.SiteStatus Maven / Gradle / Ivy
package org.infinispan.xsite.status;
/**
* 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
* {@link #isOnline()} and {@link #isOffline()} returns {@code false}.
*
* @author Pedro Ruivo
* @since 8.2
*/
public interface SiteStatus {
/**
* @return {@code true} if the site is online.
*/
boolean isOnline();
/**
* @return {@code true} if the site is offline.
*/
boolean isOffline();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy