Interface StateStoreCache

All Known Implementing Classes:
CachedRecordStore, DisabledNameserviceStore, DisabledNameserviceStoreImpl, MembershipNamenodeResolver, MembershipStore, MembershipStoreImpl, MountTableResolver, MountTableStore, MountTableStoreImpl, MultipleDestinationMountTableResolver, RouterStore, RouterStoreImpl

public interface StateStoreCache
Interface for a cached copy of the State Store.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    loadCache(boolean force)
    Load the cache from the State Store.
  • Method Details

    • loadCache

      boolean loadCache(boolean force) throws IOException
      Load the cache from the State Store. Called by the cache update service when the data has been reloaded.
      Parameters:
      force - If we force the load.
      Returns:
      If the cache was loaded successfully.
      Throws:
      IOException - If there was an error loading the cache.