Project

General

Profile

Statistics
| Revision:

root / project / src / main / java / service / RMI.java @ 1

History | View | Annotate | Download (431 Bytes)

1 1 up20120064
package main.java.service;
2
3
import java.io.File;
4
import java.rmi.Remote;
5
import java.rmi.RemoteException;
6
7
public interface RMI extends Remote {
8
9
    void backup(File file, int replicationDegree) throws RemoteException;
10
11
    void delete(String filePath) throws RemoteException;
12
13
    void restore(File file) throws RemoteException;
14
15
    String state() throws RemoteException;
16
17
    void reclaim(int amount) throws RemoteException;
18
19
}