Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1203

FileCacheStore doesn't need to flush metadata before each read

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 5.0.0.CR7
    • None
    • Loaders and Stores
    • None

      The FileChannel flush operation takes an option to flush the file contents only or flush metadata too, which needs at least an additional IO operation for each read.
      As we're only flushing and not closing the file we can skip this operation.

              sgrinove Sanne Grinovero (Inactive)
              sgrinove Sanne Grinovero (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: