public class TopologyInfo extends Object
Constructor and Description |
---|
TopologyInfo(org.infinispan.manager.EmbeddedCacheManager cacheManager,
Config.Scope config,
boolean embedded) |
Modifier and Type | Method and Description |
---|---|
boolean |
amIOwner(org.infinispan.Cache cache,
Object key)
True if I am primary owner of the key in case of distributed caches.
|
String |
getMyNodeName() |
String |
getMySiteName() |
String |
getRouteName(org.infinispan.Cache cache,
Object key)
Get route to be used as the identifier for sticky session.
|
String |
toString() |
public TopologyInfo(org.infinispan.manager.EmbeddedCacheManager cacheManager, Config.Scope config, boolean embedded)
Copyright © 2020 JBoss by Red Hat. All rights reserved.