java.lang.Object
me.ahoo.cosid.runtime.StoreSpec.Builder
- Enclosing class:
StoreSpec
Builds a
StoreSpec.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the store.Sets a backend option.Sets backend options, keeping those set before under other keys.Sets the operation timeout.
-
Method Details
-
timeout
Sets the operation timeout.- Parameters:
timeout- the timeout; defaultStoreSpec.DEFAULT_TIMEOUT- Returns:
- this builder
-
option
Sets a backend option.- Parameters:
key- the option keyvalue- the value- Returns:
- this builder
-
options
Sets backend options, keeping those set before under other keys.- Parameters:
options- the options- Returns:
- this builder
-
build
Builds the store.- Returns:
- the store
-