org.infinispan.xsite.status.ContainerMixedSiteStatus Maven / Gradle / Ivy
package org.infinispan.xsite.status;
import java.util.Collection;
import java.util.List;
/**
* A mixed {@link SiteStatus}.
*
* Used per container and it describes the caches in which the site is online, offline and mixed.
*
* @author Pedro Ruivo
* @since 8.2
*/
public class ContainerMixedSiteStatus extends AbstractMixedSiteStatus {
private final List mixedCaches;
public ContainerMixedSiteStatus(Collection onlineCacheNameCollection,
Collection offlineCacheNameCollection,
Collection mixedCacheNameCollection) {
super(onlineCacheNameCollection, offlineCacheNameCollection);
this.mixedCaches = toImmutable(mixedCacheNameCollection);
}
public List getMixedCaches() {
return mixedCaches;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy