Class TopologyInfo


public class TopologyInfo extends Object
Marek Posolda
  • Constructor Details

    • TopologyInfo

      public TopologyInfo(org.infinispan.manager.EmbeddedCacheManager cacheManager, Config.Scope config, boolean embedded, String providerId)
  • Method Details

    • getMyNodeName

      public String getMyNodeName()
    • getMySiteName

      public String getMySiteName()
    • toString

      public String toString()
      toString in class Object
    • amIOwner

      public boolean amIOwner(org.infinispan.Cache cache, Object key)
      True if I am primary owner of the key in case of distributed caches. In case of local caches, always return true
    • getRouteName

      public String getRouteName(org.infinispan.Cache cache, Object key)
      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)