public class StatisticalAssignmentPolicy extends AssignmentPolicy
AssignmentPolicy.KindLOG, policy, uForests| Constructor and Description |
|---|
StatisticalAssignmentPolicy(long[] stats,
int batch) |
| Modifier and Type | Method and Description |
|---|---|
int |
getPlacementForestIndex(DocumentURI uri)
get the index of the forest with smallest number of docs
|
void |
updateStats(int fIdx,
long count)
add count to forest with index fIdx, which may not be the forest with
minimum frmtCount.
|
getPolicyKindpublic StatisticalAssignmentPolicy(long[] stats,
int batch)
public void updateStats(int fIdx,
long count)
fIdx - count - public int getPlacementForestIndex(DocumentURI uri)
getPlacementForestIndex in class AssignmentPolicyCopyright © 2024 MarkLogic Corporation
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com