badger: github.com/dgraph-io/badger/options Index | Files

package options

import "github.com/dgraph-io/badger/options"

Index

Package Files

options.go

type FileLoadingMode Uses

type FileLoadingMode int

FileLoadingMode specifies how data in LSM table files and value log files should be loaded.

const (
    // FileIO indicates that files must be loaded using standard I/O
    FileIO FileLoadingMode = iota
    // LoadToRAM indicates that file must be loaded into RAM
    LoadToRAM
    // MemoryMap indicates that that the file must be memory-mapped
    MemoryMap
)

Package options is imported by 66 packages. Updated 2019-02-01. Refresh now. Tools for package owners.