Class DataDistributionManagerImpl
- java.lang.Object
-
- org.exoplatform.services.jcr.ext.distribution.impl.DataDistributionManagerImpl
-
- All Implemented Interfaces:
DataDistributionManager
public class DataDistributionManagerImpl extends Object implements DataDistributionManager
The default implementation of aDataDistributionManager. It will use aDataDistributionByNamewhen the readable mode is expected and aDataDistributionByHashwhen the non readable mode is expected- Version:
- $Id$
- Author:
- Nicolas Filotto
-
-
Constructor Summary
Constructors Constructor Description DataDistributionManagerImpl()DataDistributionManagerImpl(org.exoplatform.container.xml.InitParams params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataDistributionTypegetDataDistributionType(DataDistributionMode mode)Retrieves the data distribution type corresponding to given mode.
-
-
-
Method Detail
-
getDataDistributionType
public DataDistributionType getDataDistributionType(DataDistributionMode mode)
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.
-
-