- java.lang.Object
-
- com.ibm.j9ddr.corereaders.memory.SearchableMemory
-
- com.ibm.j9ddr.corereaders.memory.AbstractMemory
-
- All Implemented Interfaces:
IMemory
- Direct Known Subclasses:
BufferedMemory
,ProcessAddressSpace
public abstract class AbstractMemory extends SearchableMemory implements IMemory
Abstract class containing the logic for mapping a memory space onto a set of IMemorySource objects through a caching layer.
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<IMemorySource,IMemorySource>
decoratorMappingTable
protected MemorySourceTable
memorySources
-
Fields declared in class com.ibm.j9ddr.corereaders.memory.SearchableMemory
rangeTable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractMemory(ByteOrder byteOrder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMemorySource(IMemorySource source)
void
addMemorySources(Collection<? extends IMemorySource> memorySources)
void
removeMemorySource(IMemorySource source)
-
Methods declared in class com.ibm.j9ddr.corereaders.memory.SearchableMemory
buildRangeTable, mergeRangeTable
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.j9ddr.corereaders.memory.IMemory
findPattern, getByteAt, getByteOrder, getBytesAt, getBytesAt, getIntAt, getLongAt, getMemoryRanges, getPlatform, getProperties, getShortAt, isExecutable, isReadOnly, isShared
-
-
-
-
Field Detail
-
memorySources
protected final MemorySourceTable memorySources
-
decoratorMappingTable
protected final Map<IMemorySource,IMemorySource> decoratorMappingTable
-
-
Constructor Detail
-
AbstractMemory
protected AbstractMemory(ByteOrder byteOrder)
-
-
Method Detail
-
addMemorySource
public void addMemorySource(IMemorySource source)
-
removeMemorySource
public void removeMemorySource(IMemorySource source)
-
addMemorySources
public void addMemorySources(Collection<? extends IMemorySource> memorySources)
-
-