Class TopologyInfo

java.lang.Object
org.keycloak.connections.infinispan.TopologyInfo

@Deprecated(since="26.5", forRemoval=true) public class TopologyInfo extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
For removal. To get the node or site name, use NodeInfo from InfinispanConnectionProvider.getNodeInfo().
Author:
Marek Posolda
  • Constructor Details

    • TopologyInfo

      @Deprecated(since="26.3", forRemoval=true) public TopologyInfo(org.infinispan.manager.EmbeddedCacheManager cacheManager, Config.Scope config, boolean embedded, String providerId)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TopologyInfo

      @Deprecated(since="26.5", forRemoval=true) public TopologyInfo(org.infinispan.manager.EmbeddedCacheManager cacheManager)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getMyNodeName

      @Deprecated(since="26.5", forRemoval=true) public String getMyNodeName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use NodeInfo.nodeName() instead.
    • getMySiteName

      @Deprecated(since="26.5", forRemoval=true) public String getMySiteName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use NodeInfo.siteName() instead.
    • toString

      public String toString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      toString in class Object
    • amIOwner

      @Deprecated(since="26.5", forRemoval=true) public boolean amIOwner(org.infinispan.Cache<?,?> cache, Object key)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Removed without replacement.
      True if I am primary owner of the key in case of distributed caches. In case of local caches, always return true
    • getRouteName

      @Deprecated(since="26.5", forRemoval=true) public String getRouteName(org.infinispan.Cache<?,?> cache, Object key)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get route to be used as the identifier for sticky session. Return null if I am not able to find the appropriate route (or in case of local mode)