@Override
  public FileCacheStoreConfig adapt() {
    FileCacheStoreConfig config = new FileCacheStoreConfig();

    LegacyConfigurationAdaptor.adapt(this, config);

    config.fsyncInterval(fsyncInterval);
    config.fsyncMode(FileCacheStoreConfig.FsyncMode.valueOf(fsyncMode.name()));
    config.streamBufferSize(streamBufferSize);
    config.location(location);

    XmlConfigHelper.setValues(config, properties(), false, true);

    return config;
  }