Terrier Core

Add caching support to Files API

Details

  • Type: New Feature New Feature
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 3.0
  • Component/s: .utility
  • Description:
    Hide

    Some operations would benefit from the ability to cache a file locally.

    For instance, direct -> inverted inversion can involve multiple passes of the direct file. Ideally, the direct files should then be cached locally.

    {code}
    class Files
    {
     public static void cacheFile(String filename, String temporaryFolder) throws IOException
    }
    {code}

    What are the failure modes. and how should these be signalled to the client code?
    Show
    Some operations would benefit from the ability to cache a file locally. For instance, direct -> inverted inversion can involve multiple passes of the direct file. Ideally, the direct files should then be cached locally. {code} class Files {  public static void cacheFile(String filename, String temporaryFolder) throws IOException } {code} What are the failure modes. and how should these be signalled to the client code?

Activity

Hide
Craig Macdonald added a comment - 26/Jan/10 4:11 PM

Add ability to cache entire files to a local filesystem. Failure modes are propagated as IOExceptions.

Show
Craig Macdonald added a comment - 26/Jan/10 4:11 PM Add ability to cache entire files to a local filesystem. Failure modes are propagated as IOExceptions.

People

Dates

  • Created:
    27/Sep/09 2:28 PM
    Updated:
    05/Mar/10 5:08 PM
    Resolved:
    26/Jan/10 4:11 PM