Class Storage
- java.lang.Object
-
- org.apache.jackrabbit.oak.index.indexer.document.flatfile.analysis.modules.Storage
-
public class Storage extends Object
An in-memory storage for collectors. It allows to measure the amount of memory used.
-
-
Constructor Summary
Constructors Constructor Description Storage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longadd(String key, long value)Set<Map.Entry<String,Long>>entrySet()Longget(String key)longgetStorageSize()Return the storage estimated size, in bytes.voidput(String key, long value)intsize()Get the number of entries.StringtoString()
-