org.infinispan.hotrod.impl.cache.CacheTopologyInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-hotrod-jakarta Show documentation
Show all versions of infinispan-hotrod-jakarta Show documentation
Infinispan Hot Rod Client Jakarta EE
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();
}