Class FsRepository

All Implemented Interfaces:
Closeable, AutoCloseable, LifecycleComponent, org.elasticsearch.core.Releasable, Repository

public class FsRepository extends BlobStoreRepository
Shared file system implementation of the BlobStoreRepository

Shared file system repository supports the following settings

location
Path to the root of repository. This is mandatory parameter.
concurrent_streams
Number of concurrent read/write stream (per repository on each node). Defaults to 5.
chunk_size
Large file can be divided into chunks. This parameter specifies the chunk size. Defaults to not chucked.
compress
If set to true metadata files will be stored compressed. Defaults to false.
  • Field Details

    • TYPE

      public static final String TYPE
      See Also:
      Constant Field Values
    • LOCATION_SETTING

      public static final Setting<String> LOCATION_SETTING
    • REPOSITORIES_LOCATION_SETTING

      public static final Setting<String> REPOSITORIES_LOCATION_SETTING
    • CHUNK_SIZE_SETTING

      public static final Setting<ByteSizeValue> CHUNK_SIZE_SETTING
    • REPOSITORIES_CHUNK_SIZE_SETTING

      public static final Setting<ByteSizeValue> REPOSITORIES_CHUNK_SIZE_SETTING
    • COMPRESS_SETTING

      public static final Setting<Boolean> COMPRESS_SETTING
    • REPOSITORIES_COMPRESS_SETTING

      public static final Setting<Boolean> REPOSITORIES_COMPRESS_SETTING
  • Constructor Details

  • Method Details