public class InfinispanUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAXIMUM_REPLACE_RETRIES |
| Constructor and Description |
|---|
InfinispanUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getKeyPrimaryOwnerAddress(org.infinispan.Cache ispnCache,
Object key) |
static String |
getMyAddress(KeycloakSession session) |
static String |
getMySite(KeycloakSession session) |
static org.infinispan.client.hotrod.RemoteCache |
getRemoteCache(org.infinispan.Cache ispnCache) |
static Set<org.infinispan.persistence.remote.RemoteStore> |
getRemoteStores(org.infinispan.Cache ispnCache) |
static boolean |
isCoordinator(org.infinispan.Cache cache) |
static boolean |
isDistributedCache(org.infinispan.Cache ispnCache) |
public static final int MAXIMUM_REPLACE_RETRIES
public static Set<org.infinispan.persistence.remote.RemoteStore> getRemoteStores(org.infinispan.Cache ispnCache)
public static org.infinispan.client.hotrod.RemoteCache getRemoteCache(org.infinispan.Cache ispnCache)
public static boolean isDistributedCache(org.infinispan.Cache ispnCache)
public static String getMyAddress(KeycloakSession session)
public static String getMySite(KeycloakSession session)
public static String getKeyPrimaryOwnerAddress(org.infinispan.Cache ispnCache, Object key)
ispnCache - key - public static boolean isCoordinator(org.infinispan.Cache cache)
cache - Copyright © 2018 JBoss by Red Hat. All rights reserved.