Interface IImageStore

All Known Implementing Classes:
ImageDBStorageImpl, ImageFileStorageImpl

public interface IImageStore
Store provider interface for storage of image content
  • Method Details

    • load

      byte[] load(MImage image, MStorageProvider prov)
      Load image content
      Parameters:
      image -
      prov -
      Returns:
      byte[] image content
    • save

      void save(MImage image, MStorageProvider prov, byte[] inflatedData)
      Save image content
      Parameters:
      image -
      prov -
      inflatedData - image content
    • delete

      boolean delete(MImage image, MStorageProvider prov)
      Delete stored image content
      Parameters:
      image -
      prov -
      Returns:
      true if deleted successfully
    • isPendingFlush

      boolean isPendingFlush()
      Returns:
      true if image content is being buffered and pending flush to destination storage
    • flush

      void flush(MImage image, MStorageProvider prov)
      Flush buffer image content to destination storage
      Parameters:
      image -
      prov -