Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

Clear FileSystemPersister #365

@Shakezulla57

Description

@Shakezulla57

I'm currently using the FileSystemPersister setup like this:

FileSystemPersisterFactory.create( cache, pathResolver, 1, TimeUnit.HOURS )

I'd like to use getRefreshing() and clear(). However, FileSystemPersister doesn't implement Clearable. How can I bust the cache of the FileSystemPersister while still utilizing a timed cache and networkBeforeStale()?

The readme section about SourcePerster and FileSystem make it seem like this is supposed to be working. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions