|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.backends.jeb.DbPreloadComparator
public class DbPreloadComparator
This comparator is used to sort databases in order of priority for preloading into the cache.
Constructor Summary | |
---|---|
DbPreloadComparator()
|
Method Summary | |
---|---|
int |
compare(DatabaseContainer database1,
DatabaseContainer database2)
Compares its two arguments for order. |
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 DbPreloadComparator()
Method Detail |
---|
public int compare(DatabaseContainer database1, DatabaseContainer database2)
compare
in interface java.util.Comparator<DatabaseContainer>
database1
- the first object to be compared.database2
- the second object to be compared.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |