All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.xsite.status.ContainerMixedSiteStatus Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy