Package com.linkedin.alpini.base.queuing
Class QOSPolicy.Config
- java.lang.Object
-
- com.linkedin.alpini.base.queuing.QOSPolicy.Config
-
- All Implemented Interfaces:
ConfigBuilder<QOSPolicy.StaticConfig>
- Enclosing class:
- QOSPolicy
public static class QOSPolicy.Config extends java.lang.Object implements ConfigBuilder<QOSPolicy.StaticConfig>
-
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QOSPolicy.StaticConfig
build()
java.lang.String
getFairAllocationRatio()
int
getMaxQueueLength()
java.lang.String
getQosPolicy()
void
setFairAllocationRatio(java.lang.String fairAllocationRatio)
void
setMaxQueueLength(int maxQueueLength)
void
setQosPolicy(java.lang.String qosPolicy)
java.lang.String
toString()
-
-
-
Method Detail
-
build
public QOSPolicy.StaticConfig build()
- Specified by:
build
in interfaceConfigBuilder<QOSPolicy.StaticConfig>
-
getMaxQueueLength
public int getMaxQueueLength()
-
setMaxQueueLength
public void setMaxQueueLength(int maxQueueLength)
-
getQosPolicy
public java.lang.String getQosPolicy()
-
setQosPolicy
public void setQosPolicy(java.lang.String qosPolicy)
-
setFairAllocationRatio
public void setFairAllocationRatio(java.lang.String fairAllocationRatio)
-
getFairAllocationRatio
public java.lang.String getFairAllocationRatio()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-