com.liferay.portal.dao.shard
Class ShardUtil
java.lang.Object
com.liferay.portal.dao.shard.ShardUtil
public class ShardUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPANY_SCOPE
public static String COMPANY_SCOPE
ShardUtil
public ShardUtil()
getDataSource
public static DataSource getDataSource()
getShardSelector
public static ShardSelector getShardSelector()
isEnabled
public static boolean isEnabled()
popCompanyService
public static String popCompanyService()
pushCompanyService
public static void pushCompanyService(long companyId)
pushCompanyService
public static void pushCompanyService(String shardName)
setShardAdvice
public void setShardAdvice(ShardAdvice shardAdvice)