FileLockMutex

izumi.fundamentals.platform.files.FileLockMutex
object FileLockMutex

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def allocate[F[_], A](filename: String, retryWait: FiniteDuration, maxAttempts: Int, attemptLog: (Int, Int) => F[Unit], lockAlreadyExistedLog: => F[Unit])(fail: Int => F[A], succ: FileLock => F[A])(implicit F: QuasiIO[F], P: QuasiAsync[F], T: QuasiTemporal[F]): Lifecycle[F, A]
def withLocalMutex[F[_], A](filename: String, retryWait: FiniteDuration, maxAttempts: Int, attemptLog: (Int, Int) => F[Unit], lockAlreadyExistedLog: => F[Unit])(fail: Int => F[A], succ: FileLock => F[A])(implicit F: QuasiIO[F], P: QuasiAsync[F], T: QuasiTemporal[F]): F[A]