com.liferay.portal.kernel.dao.shard
Class ShardUtil
java.lang.Object
com.liferay.portal.kernel.dao.shard.ShardUtil
- Direct Known Subclasses:
- ShardUtil
public class ShardUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShardUtil
public ShardUtil()
getDataSource
public static DataSource getDataSource()
isEnabled
public static boolean isEnabled()
popCompanyService
public static String popCompanyService()
pushCompanyService
public static void pushCompanyService(long companyId)
pushCompanyService
public static void pushCompanyService(String shardName)
setShard
public void setShard(Shard shard)