namespace Jellyfin.Database.Implementations.DbConfiguration; /// /// Defines all possible methods for locking database access for concurrent queries. /// public enum DatabaseLockingBehaviorTypes { /// /// Defines that no explicit application level locking for reads and writes should be done and only provider specific locking should be relied on. /// NoLock = 0, /// /// Defines a behavior that always blocks all reads while any one write is done. /// Pessimistic = 1, /// /// Defines that all writes should be attempted and when fail should be retried. /// Optimistic = 2 }