com.twitter.logging

ThrottledHandler

Related Docs: object ThrottledHandler | package logging

class ThrottledHandler extends ProxyHandler

Linear Supertypes
ProxyHandler, Handler, java.util.logging.Handler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ThrottledHandler
  2. ProxyHandler
  3. Handler
  4. Handler
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ThrottledHandler(handler: Handler, duration: Duration, maxToDisplay: Int)

    handler

    Wrapped handler.

    duration

    Timespan to consider duplicates. After this amount of time, duplicate entries will be logged again.

    maxToDisplay

    Maximum duplicate log entries to pass before suppressing them.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Definition Classes
    ProxyHandler → Handler
  7. val duration: Duration

    Timespan to consider duplicates.

    Timespan to consider duplicates. After this amount of time, duplicate entries will be logged again.

  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flush(): Unit

    Definition Classes
    ProxyHandler → Handler
  12. def flushThrottled(): Unit

    Force printing any "swallowed" messages.

  13. val formatter: Formatter

    Definition Classes
    Handler
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def getEncoding(): String

    Definition Classes
    ProxyHandler → Handler
  16. def getErrorManager(): ErrorManager

    Definition Classes
    ProxyHandler → Handler
  17. def getFilter(): Filter

    Definition Classes
    ProxyHandler → Handler
  18. def getFormatter(): java.util.logging.Formatter

    Definition Classes
    ProxyHandler → Handler
  19. def getLevel(): java.util.logging.Level

    Definition Classes
    ProxyHandler → Handler
  20. val handler: Handler

    Definition Classes
    ProxyHandler
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def isLoggable(record: java.util.logging.LogRecord): Boolean

    Definition Classes
    ProxyHandler → Handler
  24. val level: Option[Level]

    Definition Classes
    Handler
  25. val maxToDisplay: Int

    Maximum duplicate log entries to pass before suppressing them.

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def publish(record: java.util.logging.LogRecord): Unit

    Log a message, with sprintf formatting, at the desired level, and attach an exception and stack trace.

    Log a message, with sprintf formatting, at the desired level, and attach an exception and stack trace.

    Definition Classes
    ThrottledHandlerProxyHandler → Handler
  30. def reportError(arg0: String, arg1: Exception, arg2: Int): Unit

    Attributes
    protected[java.util.logging]
    Definition Classes
    Handler
  31. def setEncoding(encoding: String): Unit

    Definition Classes
    ProxyHandler → Handler
  32. def setErrorManager(errorManager: ErrorManager): Unit

    Definition Classes
    ProxyHandler → Handler
  33. def setFilter(filter: Filter): Unit

    Definition Classes
    ProxyHandler → Handler
  34. def setFormatter(formatter: java.util.logging.Formatter): Unit

    Definition Classes
    ProxyHandler → Handler
  35. def setLevel(level: java.util.logging.Level): Unit

    Definition Classes
    ProxyHandler → Handler
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    Handler → AnyRef → Any
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def reset(): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 5.3.13) Use flushThrottled() instead

Inherited from ProxyHandler

Inherited from Handler

Inherited from java.util.logging.Handler

Inherited from AnyRef

Inherited from Any

Ungrouped