QuotaServer.Builder

public static class QuotaServer.Builder extends Object

Public Constructor Summary

QuotaServer.Builder(Class<T> enumClass)

Public Method Summary

Builder<T, K>
addQuota(T operation, double qps)
QuotaServer<T>
build()
Builder<T, K>
setDefaultQps(double defaultQps)

Inherited Method Summary

Public Constructors

public QuotaServer.Builder (Class<T> enumClass)

Parameters
enumClass

Public Methods

public Builder<T, K> addQuota (T operation, double qps)

Parameters
operation
qps

public QuotaServer<T> build ()

public Builder<T, K> setDefaultQps (double defaultQps)

Parameters
defaultQps

Send feedback about...

Cloud Search
Cloud Search