com.twitter.logging

ThrottledHandler

class ThrottledHandler extends Handler

Linear Supertypes
Handler, java.util.logging.Handler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ThrottledHandler
  2. Handler
  3. Handler
  4. AnyRef
  5. 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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Definition Classes
    ThrottledHandler → Handler
  9. val duration: Duration

    Timespan to consider duplicates.

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

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

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

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

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

    Definition Classes
    ThrottledHandler → Handler
  14. def flushThrottled(): Unit

    Force printing any "swallowed" messages.

  15. val formatter: Formatter

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

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

    Definition Classes
    Handler
  18. def getErrorManager(): ErrorManager

    Definition Classes
    Handler
  19. def getFilter(): Filter

    Definition Classes
    Handler
  20. def getFormatter(): java.util.logging.Formatter

    Definition Classes
    Handler
  21. def getLevel(): java.util.logging.Level

    Definition Classes
    Handler
  22. val handler: Handler

    Wrapped handler.

  23. def hashCode(): Int

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

    Definition Classes
    Any
  25. def isLoggable(arg0: java.util.logging.LogRecord): Boolean

    Definition Classes
    Handler
  26. val level: Option[Level]

    Definition Classes
    Handler
  27. val maxToDisplay: Int

    Maximum duplicate log entries to pass before suppressing them.

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

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

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

    Definition Classes
    AnyRef
  31. 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
    ThrottledHandler → Handler
  32. def reportError(arg0: String, arg1: Exception, arg2: Int): Unit

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

    Definition Classes
    Handler
    Annotations
    @throws() @throws()
  34. def setErrorManager(arg0: ErrorManager): Unit

    Definition Classes
    Handler
  35. def setFilter(arg0: Filter): Unit

    Definition Classes
    Handler
    Annotations
    @throws()
  36. def setFormatter(arg0: java.util.logging.Formatter): Unit

    Definition Classes
    Handler
    Annotations
    @throws()
  37. def setLevel(arg0: java.util.logging.Level): Unit

    Definition Classes
    Handler
    Annotations
    @throws()
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  42. 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 Handler

Inherited from java.util.logging.Handler

Inherited from AnyRef

Inherited from Any

Ungrouped