Package io.datarouter.storage.config
Class Config
java.lang.Object
io.datarouter.storage.config.Config
- All Implemented Interfaces:
Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOption(ConfigValue<?> option) anyDelay()clone()findTtl()io.datarouter.util.lang.LineOfCodeio.datarouter.util.lang.LineOfCodegetLimit()getNumAttemptsOrUse(int alternative) final <T extends ConfigValue<T>>
Optional<T>longgetVisibilityTimeoutMsOrUse(long alternative) setAllowUnsortedScan(Boolean allowUnsortedScan) setAnyDelay(boolean anyDelay) setCallsite(io.datarouter.util.lang.LineOfCode callsite) setCustomCallsite(io.datarouter.util.lang.LineOfCode customCallsite) setIgnoreException(Boolean paramIgnoreException) setNumAttempts(Integer numAttempts) setPersistentPut(Boolean persistentPut) setPutMethod(PutMethod putMethod) setRequestBatchSize(Integer requestBatchSize) setResponseBatchSize(Integer responseBatchSize) setScannerCaching(Boolean scannerCaching) setScannerPrefetching(Boolean scannerPrefetching) setTimeout(Duration duration) setUseSession(Boolean useSession) setVisibilityTimeoutMs(Long visibilityTimeoutMs)
-
Field Details
-
DEFAULT_REQUEST_BATCH_SIZE
public static final int DEFAULT_REQUEST_BATCH_SIZE- See Also:
-
DEFAULT_RESPONSE_BATCH_SIZE
public static final int DEFAULT_RESPONSE_BATCH_SIZE- See Also:
-
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
addOption
-
getOption
-
clone
-
getDeepCopy
-
getLimit
-
findLimit
-
setLimit
-
getOffset
-
findOffset
-
setOffset
-
findRequestBatchSize
-
setRequestBatchSize
-
findResponseBatchSize
-
setResponseBatchSize
-
getAnyDelay
-
setAnyDelay
-
anyDelay
-
getUseSession
-
setUseSession
-
getNumAttempts
-
getNumAttemptsOrUse
-
setNumAttempts
-
findTimeout
-
setTimeout
-
setNoTimeout
-
getPutMethod
-
setPutMethod
-
findScannerPrefetching
-
setScannerPrefetching
-
findScannerCaching
-
setScannerCaching
-
findAllowUnsortedScan
-
setAllowUnsortedScan
-
getPersistentPut
-
setPersistentPut
-
findTtl
-
setTtl
-
getVisibilityTimeoutMsOrUse
public long getVisibilityTimeoutMsOrUse(long alternative) -
getVisibilityTimeoutMs
-
setVisibilityTimeoutMs
-
getCallsite
public io.datarouter.util.lang.LineOfCode getCallsite() -
setCallsite
-
getCustomCallsite
public io.datarouter.util.lang.LineOfCode getCustomCallsite() -
setCustomCallsite
-
setIgnoreException
-
findIgnoreException
-