com.liferay.portal.dao.shard
Class ShardImpl
java.lang.Object
com.liferay.portal.dao.shard.ShardImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.dao.shard.Shard
public class ShardImpl
- extends java.lang.Object
- implements com.liferay.portal.kernel.dao.shard.Shard
View Source
- Author:
- Alexander Chow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShardImpl
public ShardImpl()
getCurrentShardName
public java.lang.String getCurrentShardName()
- Specified by:
getCurrentShardName
in interface com.liferay.portal.kernel.dao.shard.Shard
getDataSource
public javax.sql.DataSource getDataSource()
- Specified by:
getDataSource
in interface com.liferay.portal.kernel.dao.shard.Shard
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface com.liferay.portal.kernel.dao.shard.Shard
popCompanyService
public java.lang.String popCompanyService()
- Specified by:
popCompanyService
in interface com.liferay.portal.kernel.dao.shard.Shard
pushCompanyService
public void pushCompanyService(long companyId)
- Specified by:
pushCompanyService
in interface com.liferay.portal.kernel.dao.shard.Shard
pushCompanyService
public void pushCompanyService(java.lang.String shardName)
- Specified by:
pushCompanyService
in interface com.liferay.portal.kernel.dao.shard.Shard
setShardAdvice
public void setShardAdvice(ShardAdvice shardAdvice)