Liferay 6.2-ce-ga5

com.liferay.portal.dao.shard
Class ShardImpl

java.lang.Object
  extended by com.liferay.portal.dao.shard.ShardImpl
All Implemented Interfaces:
Shard

public class ShardImpl
extends Object
implements Shard


Constructor Summary
ShardImpl()
           
 
Method Summary
 String[] getAvailableShardNames()
           
 String getCurrentShardName()
           
 DataSource getDataSource()
           
 String getDefaultShardName()
           
 boolean isEnabled()
           
 String popCompanyService()
           
 void pushCompanyService(long companyId)
           
 void pushCompanyService(String shardName)
           
 void setShardAdvice(ShardAdvice shardAdvice)
           
 String setTargetSource(String shardName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShardImpl

public ShardImpl()
Method Detail

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

Liferay 6.2-ce-ga5