Package org.eclipse.mat.parser.index
Interface IIndexReader
- All Known Subinterfaces:
IIndexReader.IOne2LongIndex
,IIndexReader.IOne2ManyIndex
,IIndexReader.IOne2ManyObjectsIndex
,IIndexReader.IOne2OneIndex
,IIndexReader.IOne2SizeIndex
- All Known Implementing Classes:
IndexReader.IntIndex1NSortedReader
,IndexReader.IntIndexReader
,IndexReader.LongIndex1NReader
,IndexReader.LongIndexReader
,IndexReader.SizeIndexReader
,IndexWriter.Identifier
,IndexWriter.IntIndexCollector
,RetainedSizeCache
public interface IIndexReader
Interfaces for reading various indexes into the snapshot.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Index from object id to a long.static interface
Index from object id to several object ids.static interface
Index from object id to several object ids.static interface
Index from object id to another int.static interface
Index from object id to size, stored compressed as an int. -
Method Summary
-
Method Details
-
size
int size()Size of the index- Returns:
- number of entries
-
unload
Clear the caches. Used when the indexes are not current in use and the memory needs to be reclaimed such as when building the dominator tree.- Throws:
IOException
-
close
Close the backing file.- Throws:
IOException
-
delete
void delete()Delete the backing file.
-