Mercurial Hosting > luan
annotate src/luan/backup/BackupConnection.java @ 1386:dc36dd8bf839
add backup
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 22 Aug 2019 12:32:20 -0600 |
parents | |
children |
rev | line source |
---|---|
1386 | 1 package luan.backup; |
2 | |
3 import java.io.Reader; | |
4 | |
5 | |
6 public interface BackupConnection { | |
7 | |
8 public static BackupConnection getConnection(String key) { | |
9 throw new RuntimeException("to be implemented"); | |
10 } | |
11 | |
12 public boolean isEmpty(); | |
13 public void add(String change); | |
14 public void split(); | |
15 public void consolidate(Reader snapshot); | |
16 public Reader get(); | |
17 } |