org.wso2.carbon.caching.impl
Class Util

java.lang.Object
  extended by org.wso2.carbon.caching.impl.Util

public final class Util
extends Object

TODO: class description


Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkAccess

public static void checkAccess(String ownerTenantDomain,
                               int ownerTenantId)

getDistributedMapNameOfCache

public static String getDistributedMapNameOfCache(String cacheName,
                                                  String ownerTenantDomain,
                                                  String cacheManagerName)
Get map name of a cache in the distributed map provider

Parameters:
cacheName - name of the cache
ownerTenantDomain - owner tenant domain of the cache manager
cacheManagerName - name of the cache manager
Returns:
the distributed map name

getTenantDomain

public static String getTenantDomain()

getDefaultCacheTimeout

public static long getDefaultCacheTimeout()
Return the default cache timeout value (Mins) specified in Carbon.xml

Returns:
long


Copyright © 2014 WSO2 Inc. All rights reserved.