object ScribeHandler
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScribeHandler
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
- val DefaultBufferTime: Duration
- val DefaultCategory: String
- val DefaultConnectBackoff: Duration
- val DefaultHostname: String
- val DefaultMaxMessagesPerTransaction: Int
- val DefaultMaxMessagesToBuffer: Int
- val DefaultPort: Int
- val DefaultStatsReportPeriod: Duration
- val OK: Int
- val TRY_LATER: Int
- def apply(hostname: String, port: Int, category: String, bufferTime: Duration, connectBackoff: Duration, maxMessagesPerTransaction: Int, maxMessagesToBuffer: Int, formatter: Formatter, level: Option[Level]): () ⇒ ScribeHandler
-
def
apply(hostname: String = DefaultHostname, port: Int = DefaultPort, category: String = DefaultCategory, bufferTime: Duration = DefaultBufferTime, connectBackoff: Duration = DefaultConnectBackoff, maxMessagesPerTransaction: Int = DefaultMaxMessagesPerTransaction, maxMessagesToBuffer: Int = DefaultMaxMessagesToBuffer, formatter: Formatter = new Formatter(), level: Option[Level] = None, statsReceiver: StatsReceiver = NullStatsReceiver): () ⇒ ScribeHandler
Generates a HandlerFactory that returns a ScribeHandler.
Generates a HandlerFactory that returns a ScribeHandler.
- bufferTime
send a scribe message no more frequently than this:
- connectBackoff
don't connect more frequently than this (when the scribe server is down):
- Note
ScribeHandler is usually used to write structured binary data. When used in this way, wrapping this in other handlers, such as ThrottledHandler, which emit plain-text messages into the log, will corrupt the resulting data.
,Java users of this library can use one of the methods in ScribeHandlers, so they need not provide all the default arguments.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val log: Logger
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )