final case class WebhookServerConfig(errorSlidingCapacity: Int, maxRequestsInFlight: Int, retry: Retry, batchingCapacity: Option[Int], webhookQueueCapacity: Int) extends Product with Serializable
A WebhookServerConfig contains configuration settings for a WebhookServer's error hub capacity, retrying, and batching. For optimal performance, use capacities that are powers of 2.
- errorSlidingCapacity
Number of errors to keep in the sliding buffer
- maxRequestsInFlight
Max number of requests allowed at any given time
- retry
Configuration settings for retries
- batchingCapacity
Optional capacity for each batch. Set this to enable batching.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WebhookServerConfig
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
WebhookServerConfig(errorSlidingCapacity: Int, maxRequestsInFlight: Int, retry: Retry, batchingCapacity: Option[Int], webhookQueueCapacity: Int)
- errorSlidingCapacity
Number of errors to keep in the sliding buffer
- maxRequestsInFlight
Max number of requests allowed at any given time
- retry
Configuration settings for retries
- batchingCapacity
Optional capacity for each batch. Set this to enable batching.
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
- val batchingCapacity: Option[Int]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val errorSlidingCapacity: Int
-
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
- val maxRequestsInFlight: 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 retry: Retry
-
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()
- val webhookQueueCapacity: Int