Prescreen candidates against elements of an interest that we can so we don't need to consider candidates that have no chance of matching. More...
Protected Member Functions | |
InterestPreScreener (Interest interest, int excludeLevel, int startLevel) | |
int | preScreen (TreeNode node, int level) |
Run the prescreen. | |
Protected Attributes | |
int | _minComponents = 0 |
int | _maxComponents = 32767 |
Exclude | _exclude |
int | _excludeLevel |
Prescreen candidates against elements of an interest that we can so we don't need to consider candidates that have no chance of matching.
Currently we prescreen for matching the exclude filter if there is one and that the candidate has the correct number of components.
int org.ccnx.ccn.impl.repo.ContentTree.InterestPreScreener.preScreen | ( | TreeNode | node, | |
int | level | |||
) | [protected] |
Run the prescreen.
level | the level within the hierarchy in which this prescreen was called. Used to decide when to run the exclude test. |