|
eXo JCR :: Component :: Extension Service 1.15.0-CR2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DataDistributionType | |
|---|---|
| org.exoplatform.services.jcr.ext.distribution | |
| org.exoplatform.services.jcr.ext.distribution.impl | |
| Uses of DataDistributionType in org.exoplatform.services.jcr.ext.distribution |
|---|
| Methods in org.exoplatform.services.jcr.ext.distribution that return DataDistributionType | |
|---|---|
DataDistributionType |
DataDistributionManager.getDataDistributionType(DataDistributionMode mode)
Retrieves the data distribution type corresponding to given mode. |
| Uses of DataDistributionType in org.exoplatform.services.jcr.ext.distribution.impl |
|---|
| Classes in org.exoplatform.services.jcr.ext.distribution.impl that implement DataDistributionType | |
|---|---|
class |
AbstractDataDistributionType
|
class |
DataDistributionByHash
It will generate from the data id an hash code thanks to an hashing function then with this hash code it will be able to generate a hierarchy of sub-nodes with n levels of depth for example with n = 4 and
MD5 as hashing function:
For "john.smith" with MD5, the hash code in base 32 is 12spjkm4fhsrl151pva3f7mf1r,
so the path would be "1/2/s/john.smith" |
class |
DataDistributionByName
This data distribution will distribute the data in a understandable way for a human being. |
class |
DataDistributionByPath
This distribution doesn't do anything specific, it only stores the content as requested, which means that the data id expected is simply a relative path. |
| Methods in org.exoplatform.services.jcr.ext.distribution.impl that return DataDistributionType | |
|---|---|
DataDistributionType |
DataDistributionManagerImpl.getDataDistributionType(DataDistributionMode mode)
Retrieves the data distribution type corresponding to given mode. |
|
eXo JCR :: Component :: Extension Service 1.15.0-CR2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||