Class DataDistributionManagerImpl
java.lang.Object
org.exoplatform.services.jcr.ext.distribution.impl.DataDistributionManagerImpl
- All Implemented Interfaces:
DataDistributionManager
The default implementation of a
DataDistributionManager.
It will use a DataDistributionByName when the readable mode is expected
and a DataDistributionByHash when the non readable mode is expected- Version:
- $Id$
- Author:
- Nicolas Filotto
-
Constructor Summary
ConstructorsConstructorDescriptionDataDistributionManagerImpl(org.exoplatform.container.xml.InitParams params) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the data distribution type corresponding to given mode.
-
Constructor Details
-
DataDistributionManagerImpl
public DataDistributionManagerImpl() -
DataDistributionManagerImpl
public DataDistributionManagerImpl(org.exoplatform.container.xml.InitParams params)
-
-
Method Details
-
getDataDistributionType
Retrieves the data distribution type corresponding to given mode.- Specified by:
getDataDistributionTypein interfaceDataDistributionManager- Parameters:
mode- the mode of distribution to use- Returns:
- the expected mode if it exists
nullotherwise.
-