Path: redb-route/redb.Route.File/FileEnums.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.File/FileEnums.cs ---- namespace redb.Route.File; /// /// Strategy for handling read locks on files being consumed. /// Determines how the consumer ensures a file is not currently being written to. /// public enum ReadLockStrategy { /// No read lock. File is picked up immediately. None, /// /// Creates a marker file (*.redbLock) next to the target file. /// Other consumers skip files with an existing lock marker. /// MarkerFile, /// /// Waits until the file size stops changing for a configurable interval. /// Good for large files being uploaded/written. /// Changed, /// /// Holds the file open without read or write sharing for the duration of processing. /// If the open fails, the file is skipped until next poll. /// Windows only: Linux and macOS locks are advisory, there another reader opens the file /// anyway and the strategy keeps nobody out. Use , /// or there. /// FileLock, /// /// Attempts to rename the file. If rename fails, the file is locked by another process. /// Rename }