Skip to content

Commit 879dc19

Browse files
authored
Add files via upload
1 parent db00c62 commit 879dc19

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

DBSyncAgent.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class DBSyncAgent {
2929

3030
private final DBMap dbMap;
3131

32-
private final int syncInterval;
32+
private int syncInterval;
3333

3434
private Connection serverConnection;
3535
private Connection clientConnection;
@@ -170,6 +170,11 @@ private DBSyncAgent(Builder builder){
170170
syncInterval = builder.syncInterval;
171171
}
172172

173+
public void setSyncInterval(int syncInterval){
174+
175+
this.syncInterval = syncInterval;
176+
}
177+
173178
public void connect(){
174179

175180
try{

0 commit comments

Comments
 (0)