Liferay 6.2-ce-ga5

com.liferay.portal.kernel.dao.shard
Interface Shard


public interface Shard


Method Summary
 String[] getAvailableShardNames()
           
 String getCurrentShardName()
           
 DataSource getDataSource()
           
 String getDefaultShardName()
           
 boolean isEnabled()
           
 String popCompanyService()
           
 void pushCompanyService(long companyId)
           
 void pushCompanyService(String shardName)
           
 String setTargetSource(String shardName)
           
 

Method Detail

getAvailableShardNames

String[] getAvailableShardNames()

getCurrentShardName

String getCurrentShardName()

getDataSource

DataSource getDataSource()

getDefaultShardName

String getDefaultShardName()

isEnabled

boolean isEnabled()

popCompanyService

String popCompanyService()

pushCompanyService

void pushCompanyService(long companyId)

pushCompanyService

void pushCompanyService(String shardName)

setTargetSource

String setTargetSource(String shardName)

Liferay 6.2-ce-ga5