Interface TraceBookmarkOperations

All Known Subinterfaces:
TraceBookmarkManager, TraceBookmarkSpace
All Known Implementing Classes:
DBTraceBookmarkManager, DBTraceBookmarkSpace

public interface TraceBookmarkOperations
  • Method Details

    • getCategoriesForType

      Set<String> getCategoriesForType(TraceBookmarkType type)
      Get all the categories used for a given type
      Parameters:
      type - the bookmark type
      Returns:
      the set of categories
    • addBookmark

      TraceBookmark addBookmark(Lifespan lifespan, Address address, TraceBookmarkType type, String category, String comment)
      Add a bookmark at the given location. The category need not be created explicitly beforehand. It will be created implicitly if it does not already exist.
      Parameters:
      lifespan - the span of snaps to bookmark
      address - the address to bookmark
      type - the type of the bookmark
      category - a category for the bookmark
      comment - a comment to add to the bookmark
      Returns:
      the new bookmark
    • getAllBookmarks

      Collection<? extends TraceBookmark> getAllBookmarks()
    • getBookmarksAt

      Iterable<? extends TraceBookmark> getBookmarksAt(long snap, Address address)
    • getBookmarksEnclosed

      Iterable<? extends TraceBookmark> getBookmarksEnclosed(Lifespan lifespan, AddressRange range)
    • getBookmarksIntersecting

      Iterable<? extends TraceBookmark> getBookmarksIntersecting(Lifespan lifespan, AddressRange range)