Package org.ec4j.core

Interface Cache

All Known Implementing Classes:
Cache.Caches.PermanentCache

public interface Cache
A simple cache interface for EditorConfigs loaded out of Resources.

It is up to the implementors to choose a particular caching strategy. Note that there is few Cache implementations accessible through the factory methods of Cache.Caches class.

The implementations should state clearly if their instances can be accessed from concurrent threads.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Factory methods for some basic Cache implementations.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(Resource editorConfigFile, EditorConfigLoader loader)