reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Chung (JIRA)" <>
Subject [jira] [Commented] (REEF-1361) IFileDeSerializer does not have a Dispose function
Date Wed, 27 Apr 2016 18:39:13 GMT


Andrew Chung commented on REEF-1361:

# Introduce a separate component that is not called a *serializer* and have the serializer
injected into it. It can know about the compressed files and implement {{IDisposable}}.
# Perform the logic ad-hoc within the {{FileSystemInputPartition}}.

> IFileDeSerializer does not have a Dispose function
> --------------------------------------------------
>                 Key: REEF-1361
>                 URL:
>             Project: REEF
>          Issue Type: Improvement
>          Components: REEF.NET IO
>         Environment: C#
>            Reporter: Dhruv Mahajan
> Currently {{IFileDeserializer}} does not inherit {{IDisposable}} class to dispose unmanaged
resources like files. This becomes necessary in case it decides to add some disk based cache
and writes a cache to the disk at some temporary location. This cache then needs to be deleted
once {{IInputPartition}} is being disposed by calling the {{IFileDeserializer.Dispose()}}
in {{IInputPartition.Dispose()}}.
> The aim of this JIRA is to introduce the dispose functionality in  {{IFileDeserializer}}
and modify {{FileSystemInputPartition}} to use it.

This message was sent by Atlassian JIRA

View raw message