Liferay 6.0.4

com.liferay.portal.dao.shard
Class ShardUtil

java.lang.Object
  extended by com.liferay.portal.dao.shard.ShardUtil

public class ShardUtil
extends Object


Field Summary
static String COMPANY_SCOPE
           
 
Constructor Summary
ShardUtil()
           
 
Method Summary
static DataSource getDataSource()
           
static ShardSelector getShardSelector()
           
static boolean isEnabled()
           
static String popCompanyService()
           
static void pushCompanyService(long companyId)
           
static void pushCompanyService(String shardName)
           
 void setShardAdvice(ShardAdvice shardAdvice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPANY_SCOPE

public static String COMPANY_SCOPE
Constructor Detail

ShardUtil

public ShardUtil()
Method Detail

getDataSource

public static DataSource getDataSource()

getShardSelector

public static ShardSelector getShardSelector()

isEnabled

public static boolean isEnabled()

popCompanyService

public static String popCompanyService()

pushCompanyService

public static void pushCompanyService(long companyId)

pushCompanyService

public static void pushCompanyService(String shardName)

setShardAdvice

public void setShardAdvice(ShardAdvice shardAdvice)

Liferay 6.0.4