Class TopologyInfo
java.lang.Object
org.keycloak.connections.infinispan.TopologyInfo
Deprecated, for removal: This API element is subject to removal in a future version.
- Author:
- Marek Posolda
-
Constructor Summary
ConstructorsConstructorDescriptionTopologyInfo(org.infinispan.manager.EmbeddedCacheManager cacheManager) Deprecated, for removal: This API element is subject to removal in a future version.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.UseTopologyInfo(EmbeddedCacheManager)instead. -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated, for removal: This API element is subject to removal in a future version.Removed without replacement.Deprecated, for removal: This API element is subject to removal in a future version.UseNodeInfo.nodeName()instead.Deprecated, for removal: This API element is subject to removal in a future version.UseNodeInfo.siteName()instead.getRouteName(org.infinispan.Cache<?, ?> cache, Object key) Deprecated, for removal: This API element is subject to removal in a future version.UseStickySessionEncoderProvider.sessionIdRoute(String)instead.toString()Deprecated, for removal: This API element is subject to removal in a future version.
-
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.UseTopologyInfo(EmbeddedCacheManager)instead. -
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, for removal: This API element is subject to removal in a future version.UseNodeInfo.nodeName()instead. -
getMySiteName
Deprecated, for removal: This API element is subject to removal in a future version.UseNodeInfo.siteName()instead. -
toString
Deprecated, for removal: This API element is subject to removal in a future version. -
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.UseStickySessionEncoderProvider.sessionIdRoute(String)instead.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)
-
NodeInfofromInfinispanConnectionProvider.getNodeInfo().