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 long
add(String key, long value)
Set<Map.Entry<String,Long>>
entrySet()
Long
get(String key)
long
getStorageSize()
Return the storage estimated size, in bytes.void
put(String key, long value)
int
size()
Get the number of entries.String
toString()
-