|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.harvester.scheduler.jobgen.DefaultJobGenerator.CompareConfigsDesc
public static class DefaultJobGenerator.CompareConfigsDesc
Compare two configurations using the following order: 1) Harvest template 2) Byte limit 3) expected number of object a harvest of the configuration will produce. The comparison will put the largest configuration first (with respect to 2) and 3))
Constructor Summary | |
---|---|
DefaultJobGenerator.CompareConfigsDesc(long objectLimit,
long byteLimit)
|
Method Summary | |
---|---|
int |
compare(DomainConfiguration cfg1,
DomainConfiguration cfg2)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
---|
equals |
Constructor Detail |
---|
public DefaultJobGenerator.CompareConfigsDesc(long objectLimit, long byteLimit)
Method Detail |
---|
public int compare(DomainConfiguration cfg1, DomainConfiguration cfg2)
compare
in interface java.util.Comparator<DomainConfiguration>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |