Interface RewritableStorage

All Superinterfaces:
Storage

public interface RewritableStorage extends Storage
This interface is for Storage entities that allow the overwriting and deletion of Images and SummaryMetadata, as per RewritableDatastore.
  • Method Details

    • deleteImage

      void deleteImage(Coords coords) throws IllegalArgumentException
      Delete an image from the Storage. Posts an ImageDeletedEvent to the event bus. Throws an IllegalArgumentException if the provided coordinates do not correspond to any image in the Storage.
      Parameters:
      coords - Coordinates of the image to remove.
      Throws:
      IllegalArgumentException - if the coords do not match any image.