Class TranslogConfig

java.lang.Object
org.elasticsearch.index.translog.TranslogConfig

public final class TranslogConfig
extends java.lang.Object
  • Field Details

  • Constructor Details

    • TranslogConfig

      public TranslogConfig​(ShardId shardId, java.nio.file.Path translogPath, IndexSettings indexSettings, BigArrays bigArrays)
      Creates a new TranslogConfig instance
      Parameters:
      shardId - the shard ID this translog belongs to
      translogPath - the path to use for the transaction log files
      indexSettings - the index settings used to set internal variables
      bigArrays - a bigArrays instance used for temporarily allocating write operations
  • Method Details