moved cache replication to its own remote interface
This commit is contained in:
parent
6ab83c5676
commit
285bc06a7f
2 changed files with 19 additions and 2 deletions
|
@ -14,8 +14,6 @@ public interface IRemoteApp extends Remote {
|
||||||
|
|
||||||
public ResponseTrans execute (RequestTrans param) throws RemoteException;
|
public ResponseTrans execute (RequestTrans param) throws RemoteException;
|
||||||
|
|
||||||
public void replicateCache (Vector add, Vector delete) throws RemoteException;
|
|
||||||
|
|
||||||
public void ping () throws RemoteException;
|
public void ping () throws RemoteException;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
19
src/helma/framework/IReplicatedApp.java
Normal file
19
src/helma/framework/IReplicatedApp.java
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
// IReplicatedApp.java
|
||||||
|
// Copyright (c) Hannes Wallnöfer 2001
|
||||||
|
|
||||||
|
package helma.framework;
|
||||||
|
|
||||||
|
import helma.objectmodel.Key;
|
||||||
|
import helma.objectmodel.INode;
|
||||||
|
import java.rmi.*;
|
||||||
|
import java.util.Vector;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* RMI interface for an application that is able to replicate it's node cache.
|
||||||
|
*/
|
||||||
|
|
||||||
|
public interface IReplicatedApp extends Remote {
|
||||||
|
|
||||||
|
public void replicateCache (Vector add, Vector delete) throws RemoteException;
|
||||||
|
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue