Package ghidra.trace.database.address
Class DBTraceOverlaySpaceAdapter
java.lang.Object
ghidra.trace.database.address.DBTraceOverlaySpaceAdapter
- All Implemented Interfaces:
ErrorHandler,DBTraceManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDBTraceOverlaySpaceAdapter.AddressDBFieldCodec<OT extends DBAnnotatedObject & DBTraceOverlaySpaceAdapter.DecodesAddresses>Used for objects having anAddressfield.protected static classstatic interfaceAn interface required for any object having a field usingDBTraceOverlaySpaceAdapter.AddressDBFieldCodec. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DBHandleprotected final ReadWriteLockprotected final DBCachedObjectIndex<String, DBTraceOverlaySpaceAdapter.DBTraceOverlaySpaceEntry> protected final DBCachedObjectStore<DBTraceOverlaySpaceAdapter.DBTraceOverlaySpaceEntry> protected final DBTrace -
Constructor Summary
ConstructorsConstructorDescriptionDBTraceOverlaySpaceAdapter(DBHandle dbh, OpenMode openMode, ReadWriteLock lock, TaskMonitor monitor, DBTrace trace) -
Method Summary
Modifier and TypeMethodDescriptioncreateOverlayAddressSpace(String name, AddressSpace base) voidNotification that an IO exception occurred.voidprotected AddressSpacedoCreateOverlaySpace(String name, AddressSpace base) getOrCreateOverlayAddressSpace(String name, AddressSpace base) voidinvalidateCache(boolean all) Invalidate this manager's cachesprotected voidprotected voidresyncAddressFactory(TraceAddressFactory factory)
-
Field Details
-
dbh
-
lock
-
trace
-
overlayStore
protected final DBCachedObjectStore<DBTraceOverlaySpaceAdapter.DBTraceOverlaySpaceEntry> overlayStore -
overlaysByName
protected final DBCachedObjectIndex<String,DBTraceOverlaySpaceAdapter.DBTraceOverlaySpaceEntry> overlaysByName
-
-
Constructor Details
-
DBTraceOverlaySpaceAdapter
public DBTraceOverlaySpaceAdapter(DBHandle dbh, OpenMode openMode, ReadWriteLock lock, TaskMonitor monitor, DBTrace trace) throws VersionException, IOException - Throws:
VersionExceptionIOException
-
-
Method Details
-
dbError
Description copied from interface:ErrorHandlerNotification that an IO exception occurred.- Specified by:
dbErrorin interfaceErrorHandler- Parameters:
e-IOExceptionwhich was cause of error
-
invalidateCache
public void invalidateCache(boolean all) Description copied from interface:DBTraceManagerInvalidate this manager's caches- Specified by:
invalidateCachein interfaceDBTraceManager- Parameters:
all- probably nothing. Check out implementations ofManagerDB.invalidateCache(boolean).
-
resyncAddressFactory
protected void resyncAddressFactory() -
resyncAddressFactory
-
doCreateOverlaySpace
protected AddressSpace doCreateOverlaySpace(String name, AddressSpace base) throws DuplicateNameException - Throws:
DuplicateNameException
-
createOverlayAddressSpace
public AddressSpace createOverlayAddressSpace(String name, AddressSpace base) throws DuplicateNameException - Throws:
DuplicateNameException
-
getOrCreateOverlayAddressSpace
-
deleteOverlayAddressSpace
-