Class BlobCacheService

    • Constructor Detail

      • BlobCacheService

        public BlobCacheService​(org.apache.flink.configuration.Configuration blobClientConfig,
                                org.apache.flink.util.Reference<File> storageDir,
                                BlobView blobView,
                                @Nullable
                                InetSocketAddress serverAddress)
                         throws IOException
        Instantiates a new BLOB cache.
        Parameters:
        blobClientConfig - global configuration
        storageDir - storage directory for the cached blobs
        blobView - (distributed) blob store file system to retrieve files from first
        serverAddress - address of the BlobServer to use for fetching files from or null if none yet
        Throws:
        IOException - thrown if the (local or distributed) file storage cannot be created or is not usable
      • BlobCacheService

        public BlobCacheService​(PermanentBlobCache permanentBlobCache,
                                TransientBlobCache transientBlobCache)
        Instantiates a new BLOB cache.
        Parameters:
        permanentBlobCache - BLOB cache to use for permanent BLOBs
        transientBlobCache - BLOB cache to use for transient BLOBs