Interface CachableBlobHolder

  • All Superinterfaces:
    BlobHolder
    All Known Implementing Classes:
    SimpleCachableBlobHolder, ZipCachableBlobHolder

    public interface CachableBlobHolder
    extends BlobHolder
    Extended interface for BlobHolder that can be cached.

    A BlobHolder can be cached if it can be persisted to disk and reloaded from a file. Converters need to return BlobHolders that implement this interface to make the result cachable.

    Author:
    tiry
    • Method Detail

      • persist

        String persist​(String basePath)
                throws IOException
        Persists the blobHolder to disk.
        Parameters:
        basePath - the base path (existing directory) as determined by the caller
        Returns:
        the full path of the newly created FileSystem resource
        Throws:
        IOException