Mercurial Hosting > luan
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/luan/backup/BackupConnection.java Thu Aug 22 12:32:20 2019 -0600 @@ -0,0 +1,17 @@ +package luan.backup; + +import java.io.Reader; + + +public interface BackupConnection { + + public static BackupConnection getConnection(String key) { + throw new RuntimeException("to be implemented"); + } + + public boolean isEmpty(); + public void add(String change); + public void split(); + public void consolidate(Reader snapshot); + public Reader get(); +}