case class AsynchronousLogHandle(maxBuffer: Int, overflow: Overflow = Overflow.DropOld) extends LogHandle with Product with Serializable
Provides support for asynchronous logging to process the log record in another thread and avoid any blocking.
- maxBuffer
the maximum buffer before overflow occurs (defaults to AsynchronousLogHandler.DefaultMaxBuffer)
- overflow
what to do with overflows (defaults to DropOld)
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AsynchronousLogHandle
- Serializable
- Serializable
- Product
- Equals
- LogHandle
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
AsynchronousLogHandle(maxBuffer: Int, overflow: Overflow = Overflow.DropOld)
- maxBuffer
the maximum buffer before overflow occurs (defaults to AsynchronousLogHandler.DefaultMaxBuffer)
- overflow
what to do with overflows (defaults to DropOld)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log[M](handler: LogHandlerBuilder, record: LogRecord[M]): Unit
- Definition Classes
- AsynchronousLogHandle → LogHandle
- val maxBuffer: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val overflow: Overflow
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withMaxBuffer(maxBuffer: Int): AsynchronousLogHandle
- def withOverflow(overflow: Overflow): AsynchronousLogHandle