-
public final class DataStrategy.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private final UnleashConfig.Builderparentprivate Booleanenabledprivate Longintervalprivate Longdelayprivate BooleanpauseOnBackgroundprivate LonghttpConnectionTimeoutprivate LonghttpReadTimeoutprivate LonghttpCacheSizeprivate Map<String, String>httpCustomHeaders
-
Method Summary
-
-
Method Detail
-
getParent
final UnleashConfig.Builder getParent()
-
getEnabled
final Boolean getEnabled()
-
setEnabled
final Unit setEnabled(Boolean enabled)
-
getInterval
final Long getInterval()
-
setInterval
final Unit setInterval(Long interval)
-
getPauseOnBackground
final Boolean getPauseOnBackground()
-
setPauseOnBackground
final Unit setPauseOnBackground(Boolean pauseOnBackground)
-
getHttpConnectionTimeout
final Long getHttpConnectionTimeout()
-
setHttpConnectionTimeout
final Unit setHttpConnectionTimeout(Long httpConnectionTimeout)
-
getHttpReadTimeout
final Long getHttpReadTimeout()
-
setHttpReadTimeout
final Unit setHttpReadTimeout(Long httpReadTimeout)
-
getHttpCacheSize
final Long getHttpCacheSize()
-
setHttpCacheSize
final Unit setHttpCacheSize(Long httpCacheSize)
-
getHttpCustomHeaders
final Map<String, String> getHttpCustomHeaders()
-
setHttpCustomHeaders
final Unit setHttpCustomHeaders(Map<String, String> httpCustomHeaders)
-
build
final DataStrategy build()
-
enabled
final UnleashConfig.Builder enabled(Boolean enabled)
-
interval
final UnleashConfig.Builder interval(Long interval)
-
delay
final UnleashConfig.Builder delay(Long delay)
-
pauseOnBackground
final UnleashConfig.Builder pauseOnBackground(Boolean pauseOnBackground)
-
httpConnectionTimeout
final UnleashConfig.Builder httpConnectionTimeout(Long httpConnectionTimeout)
-
httpReadTimeout
final UnleashConfig.Builder httpReadTimeout(Long httpReadTimeout)
-
httpCacheSize
final UnleashConfig.Builder httpCacheSize(Long httpCacheSize)
-
httpCustomHeaders
final UnleashConfig.Builder httpCustomHeaders(Map<String, String> httpCustomHeaders)
-
-
-
-