/* Richard A. DeVenezia * SUGI 29 - "Greetings from the Edge" * www.devenezia.com/papers */ import java.rmi.Remote; import java.rmi.RemoteException; public interface HashInterface extends Remote { // returned handle must be used to access all functions public int getHashHandle (int size, float load) throws RemoteException; public void freeHashHandle (int handle) throws RemoteException; public void put (int handle, String key, String value) throws RemoteException; public void put (int handle, String key, double value) throws RemoteException; public void put (int handle, double key, String value) throws RemoteException; public void put (int handle, double key, double value) throws RemoteException; public String getString (int handle, String key) throws RemoteException; public String getString (int handle, double key) throws RemoteException; public double getDouble (int handle, String key) throws RemoteException; public double getDouble (int handle, double key) throws RemoteException; }