|
|
|
@ -96,13 +96,13 @@ public final class IndexCell<ReferenceType extends Reference> extends AbstractBu
|
|
|
|
|
* @throws IOException
|
|
|
|
|
* @throws IOException
|
|
|
|
|
*/
|
|
|
|
|
public synchronized void add(ReferenceContainer<ReferenceType> newEntries) throws IOException {
|
|
|
|
|
public void add(ReferenceContainer<ReferenceType> newEntries) throws IOException {
|
|
|
|
|
this.ram.add(newEntries);
|
|
|
|
|
serverProfiling.update("wordcache", Long.valueOf(this.ram.size()), true);
|
|
|
|
|
cleanCache();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public synchronized void add(byte[] termHash, ReferenceType entry) throws IOException {
|
|
|
|
|
public void add(byte[] termHash, ReferenceType entry) throws IOException {
|
|
|
|
|
this.ram.add(termHash, entry);
|
|
|
|
|
serverProfiling.update("wordcache", Long.valueOf(this.ram.size()), true);
|
|
|
|
|
cleanCache();
|
|
|
|
|