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

org.infinispan.hotrod.impl.cache.CacheTopologyInfo Maven / Gradle / Ivy

The newest version!
package org.infinispan.hotrod.impl.cache;

import java.net.SocketAddress;
import java.util.Map;
import java.util.Set;

/**
 * Contains information about cache topology including servers and owned segments.
 *
 * @since 14.0
 */
public interface CacheTopologyInfo {

   /**
    * @return The number of configured segments for the cache.
    */
   Integer getNumSegments();

   /**
    * @return Segments owned by each server.
    */
   Map> getSegmentsPerServer();

   Integer getTopologyId();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy