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