Package com.featureprobe.sdk.server
Class FPConfig.Builder
- java.lang.Object
-
- com.featureprobe.sdk.server.FPConfig.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FPConfig
build()
FPConfig.Builder
eventUrl(URL eventUrl)
FPConfig.Builder
localFileMode()
FPConfig.Builder
localFileMode(String location)
FPConfig.Builder
pollingMode()
FPConfig.Builder
pollingMode(HttpConfiguration httpConfiguration)
FPConfig.Builder
pollingMode(java.time.Duration refreshInterval)
FPConfig.Builder
prerequisiteDeep(Integer prerequisiteDeep)
FPConfig.Builder
realtimeUri(String realtimeUri)
FPConfig.Builder
realtimeUri(URI realtimeUri)
FPConfig.Builder
remoteUri(String remoteUri)
FPConfig.Builder
startWait(Long startWaitTime, TimeUnit unit)
FPConfig.Builder
streamingMode()
FPConfig.Builder
streamingMode(java.time.Duration refreshInterval)
FPConfig.Builder
synchronizerUrl(URL synchronizerUrl)
FPConfig.Builder
useMemoryRepository()
-
-
-
Method Detail
-
remoteUri
public FPConfig.Builder remoteUri(String remoteUri)
-
pollingMode
public FPConfig.Builder pollingMode()
-
streamingMode
public FPConfig.Builder streamingMode()
-
streamingMode
public FPConfig.Builder streamingMode(java.time.Duration refreshInterval)
-
pollingMode
public FPConfig.Builder pollingMode(java.time.Duration refreshInterval)
-
pollingMode
public FPConfig.Builder pollingMode(HttpConfiguration httpConfiguration)
-
localFileMode
public FPConfig.Builder localFileMode()
-
localFileMode
public FPConfig.Builder localFileMode(String location)
-
useMemoryRepository
public FPConfig.Builder useMemoryRepository()
-
synchronizerUrl
public FPConfig.Builder synchronizerUrl(URL synchronizerUrl)
-
eventUrl
public FPConfig.Builder eventUrl(URL eventUrl)
-
realtimeUri
public FPConfig.Builder realtimeUri(URI realtimeUri)
-
realtimeUri
public FPConfig.Builder realtimeUri(String realtimeUri)
-
startWait
public FPConfig.Builder startWait(Long startWaitTime, TimeUnit unit)
-
prerequisiteDeep
public FPConfig.Builder prerequisiteDeep(Integer prerequisiteDeep)
-
build
public FPConfig build()
-
-