Class FilesystemCachedTable<K,​V extends FilesystemCachedObject<K,​V>>

  • All Implemented Interfaces:
    FileListObjectFactory<V>, Table<V>, Iterable<V>
    Direct Known Subclasses:
    DistroFileTable

    public abstract class FilesystemCachedTable<K,​V extends FilesystemCachedObject<K,​V>>
    extends AOServTable<K,​V>
    implements FileListObjectFactory<V>
    A FilesystemCachedTable stores all of the available FilesystemCachedObjects in a temporary file and performs all subsequent data access locally. The server notifies the client when a table is updated, and the caches are then invalidated. Once invalidated, the data is reloaded upon next use.

    The file format is a simple fixed record length format. TODO: It is possible to use the same column sorting technique to implement the getIndexedRows method from AOServTable.

    Author:
    AO Industries, Inc.