root / src / peer / PeerInterface.java @ 2
History | View | Annotate | Download (410 Bytes)
1 | 2 | up20150644 | package peer; |
---|---|---|---|
2 | |||
3 | import java.rmi.Remote; |
||
4 | import java.rmi.RemoteException; |
||
5 | |||
6 | public interface PeerInterface extends Remote { |
||
7 | void backup(String path,int replicationDeg) throws RemoteException; |
||
8 | void delete(String path) throws RemoteException; |
||
9 | void restore(String path) throws RemoteException; |
||
10 | void reclaim(float space) throws RemoteException; |
||
11 | String state() throws RemoteException; |
||
12 | } |