00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 package org.objectweb.proactive.core.body.ft.servers.storage;
00032
00033 import java.rmi.Remote;
00034 import java.rmi.RemoteException;
00035
00036 import org.objectweb.proactive.core.UniqueID;
00037 import org.objectweb.proactive.core.body.ft.checkpointing.Checkpoint;
00038 import org.objectweb.proactive.core.body.ft.checkpointing.CheckpointInfo;
00039 import org.objectweb.proactive.core.body.ft.message.HistoryUpdater;
00040 import org.objectweb.proactive.core.body.ft.message.MessageInfo;
00041 import org.objectweb.proactive.core.body.reply.Reply;
00042 import org.objectweb.proactive.core.body.request.Request;
00043
00044
00053 public interface CheckpointServer extends Remote {
00054
00055
00064 public int storeCheckpoint(Checkpoint c, int incarnation)
00065 throws RemoteException;
00066
00074 public Checkpoint getCheckpoint(UniqueID id, int sequenceNumber)
00075 throws RemoteException;
00076
00083 public Checkpoint getLastCheckpoint(UniqueID id) throws RemoteException;
00084
00093 public void addInfoToCheckpoint(CheckpointInfo ci, UniqueID id,
00094 int sequenceNumber, int incarnation) throws RemoteException;
00095
00103 public CheckpointInfo getInfoFromCheckpoint(UniqueID id, int sequenceNumber)
00104 throws RemoteException;
00105
00112 public void commitHistory(HistoryUpdater rh) throws RemoteException;
00113
00120 public void outputCommit(MessageInfo mi) throws RemoteException;
00121
00128 public String getServerCodebase() throws RemoteException;
00129
00130
00131
00139 public void storeRequest(UniqueID receiverId, Request request)
00140 throws RemoteException;
00141
00149 public void storeReply(UniqueID receiverID, Reply reply)
00150 throws RemoteException;
00151
00155 public void initialize() throws RemoteException;
00156 }