Liferay 6.2.0

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

All Known Implementing Classes:
ShardImpl

public interface Shard


Method Summary
abstract  String[] getAvailableShardNames()
           
abstract  String getCurrentShardName()
           
abstract  DataSource getDataSource()
           
abstract  String getDefaultShardName()
           
abstract  boolean isEnabled()
           
abstract  String popCompanyService()
           
abstract  void pushCompanyService(long companyId)
           
abstract  void pushCompanyService(String shardName)
           
abstract  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.0