public final class Util extends Object
Modifier and Type | Method and Description |
---|---|
static void |
checkAccess(String ownerTenantDomain,
int ownerTenantId) |
static long |
getDefaultCacheTimeout()
Return the default cache timeout value (Mins) specified in Carbon.xml
|
static String |
getDistributedMapNameOfCache(String cacheName,
String ownerTenantDomain,
String cacheManagerName)
Get map name of a cache in the distributed map provider
|
static String |
getTenantDomain() |
public static void checkAccess(String ownerTenantDomain, int ownerTenantId)
public static String getDistributedMapNameOfCache(String cacheName, String ownerTenantDomain, String cacheManagerName)
cacheName
- name of the cacheownerTenantDomain
- owner tenant domain of the cache managercacheManagerName
- name of the cache managerpublic static String getTenantDomain()
public static long getDefaultCacheTimeout()
Copyright © 2015 WSO2 Inc. All rights reserved.