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: 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
    ThrottledHandler → 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
    ThrottledHandler → 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
    Handler
  16. def getErrorManager(): ErrorManager

    Definition Classes
    Handler
  17. def getFilter(): Filter

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

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

    Definition Classes
    Handler
  20. val handler: Handler

    Wrapped handler.

  21. def hashCode(): Int

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

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

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

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

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

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

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

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

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

Inherited from java.util.logging.Handler

Inherited from AnyRef

Inherited from Any

Ungrouped