package concurrency
Contains the composable Receiver concurrency policies available in timber. These determine whether concurrent access to the various Receiver methods is allowed.
Each of the policies has two flavors. The first is a trait that can be used to mixin to a StackableReceiver.
The second is an object that can be used as an argument to the file() method in the
DSL.
- Alphabetic
- By Inheritance
- concurrency
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
Locking extends Receiver
Prevents concurrent access to the core Receiver methods through locking (with a ReentrantLock).
-
class
Queueing extends Receiver
Prevents concurrent access to the core Receiver methods through queueing the entries and processing them with a single-threaded ExecutionContext.