reduce cache size for all SingleEntryFileBasedIndexExtension by default

GitOrigin-RevId: 54b0615a0c4cc9dfaef7bb968ebc7819376636a3
This commit is contained in:
Dmitry Batkovich
2019-05-27 10:04:31 +03:00
committed by intellij-monorepo-bot
parent 000ccd1dbc
commit ea8476a61f
2 changed files with 5 additions and 5 deletions
@@ -38,6 +38,11 @@ public abstract class SingleEntryFileBasedIndexExtension<V> extends FileBasedInd
return true;
}
@Override
public int getCacheSize() {
return 5;
}
@NotNull
@Override
public abstract SingleEntryIndexer<V> getIndexer();
@@ -101,11 +101,6 @@ public class StubUpdatingIndex extends SingleEntryFileBasedIndexExtension<Serial
return INDEX_ID;
}
@Override
public int getCacheSize() {
return 5; // no need to cache many serialized trees
}
@NotNull
@Override
public SingleEntryIndexer<SerializedStubTree> getIndexer() {