Class TopologyInfo
java.lang.Object
org.keycloak.connections.infinispan.TopologyInfo
- Author:
- Marek Posolda
-
Constructor Summary
ConstructorDescriptionTopologyInfo
(org.infinispan.manager.EmbeddedCacheManager cacheManager, Config.Scope config, boolean embedded, String providerId) -
Method Summary
Modifier and TypeMethodDescriptionboolean
True if I am primary owner of the key in case of distributed caches.getRouteName
(org.infinispan.Cache<?, ?> cache, Object key) Get route to be used as the identifier for sticky session.toString()
-
Constructor Details
-
TopologyInfo
public TopologyInfo(org.infinispan.manager.EmbeddedCacheManager cacheManager, Config.Scope config, boolean embedded, String providerId)
-
-
Method Details
-
getMyNodeName
-
getMySiteName
-
toString
-
amIOwner
True if I am primary owner of the key in case of distributed caches. In case of local caches, always return true -
getRouteName
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)
-