case class RichServerParam(protocolFactory: TProtocolFactory = Thrift.param.protocolFactory, serviceName: String = "thrift", maxThriftBufferSize: Int = Thrift.param.maxThriftBufferSize, serverStats: StatsReceiver = LoadedStatsReceiver, responseClassifier: ResponseClassifier = ResponseClassifier.Default, perEndpointStats: Boolean = false) extends Product with Serializable
Produce a server with params wrapped in RichServerParam
- protocolFactory
A
TProtocolFactory
creates protocol objects from transports- serviceName
For server stats, (default: "thrift")
- maxThriftBufferSize
The max size of a reusable buffer for the thrift response
- serverStats
StatsReceiver for recording metrics
- responseClassifier
- perEndpointStats
Whether to record per-endpoint stats, (default: false). By enabling this, the specific Thrift Exceptions can be recorded. See PerEndpoint StatsFilter
- Alphabetic
- By Inheritance
- RichServerParam
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RichServerParam()
- new RichServerParam(protocolFactory: TProtocolFactory)
- new RichServerParam(protocolFactory: TProtocolFactory, maxThriftBufferSize: Int)
- new RichServerParam(protocolFactory: TProtocolFactory, serviceName: String, maxThriftBufferSize: Int, serverStats: StatsReceiver, responseClassifier: ResponseClassifier)
-
new
RichServerParam(protocolFactory: TProtocolFactory = Thrift.param.protocolFactory, serviceName: String = "thrift", maxThriftBufferSize: Int = Thrift.param.maxThriftBufferSize, serverStats: StatsReceiver = LoadedStatsReceiver, responseClassifier: ResponseClassifier = ResponseClassifier.Default, perEndpointStats: Boolean = false)
- protocolFactory
A
TProtocolFactory
creates protocol objects from transports- serviceName
For server stats, (default: "thrift")
- maxThriftBufferSize
The max size of a reusable buffer for the thrift response
- serverStats
StatsReceiver for recording metrics
- responseClassifier
- perEndpointStats
Whether to record per-endpoint stats, (default: false). By enabling this, the specific Thrift Exceptions can be recorded. See PerEndpoint StatsFilter
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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxThriftBufferSize: 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 perEndpointStats: Boolean
- val protocolFactory: TProtocolFactory
- val responseClassifier: ResponseClassifier
-
val
restrictedProtocolFactory: TProtocolFactory
Apply system-wide read limit on TBinaryProtocol and TCompactProtocol if the System.Property("-Dorg.apache.thrift.readLength") is set.
- val serverStats: StatsReceiver
- val serviceName: String
-
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
- @native() @throws( ... )