Package com.jalios.jstore.jsync
Class JSyncSettings.Builder
java.lang.Object
com.jalios.jstore.jsync.JSyncSettings.Builder
- Enclosing class:
JSyncSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoUpdate(boolean autoUpdate) build()canBeJoined(boolean canBeJoined) canLeaderJoin(boolean canLeaderJoin) downloadDir(File downloadDir) downloadInterval(long downloadInterval) explicitReplicaList(List<String> explicitReplicaList) knownReplicasFile(File knownReplicasFile) partialUpdateInterval(int partialUpdateInterval) requestTimeout(int requestTimeout) sharedSecret(String sharedSecret) syncFiles(boolean syncFiles) updateRequestTimeout(int updateRequestTimeout)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
store
-
url
-
syncFiles
-
canBeJoined
-
canLeaderJoin
-
autoUpdate
-
logDir
-
fileDir
-
downloadDir
-
downloadInterval
-
leaderUrl
-
explicitReplicaList
-
knownReplicasFile
-
requestTimeout
-
updateRequestTimeout
-
partialUpdateInterval
-
build
-