org.objectweb.proactive.core.body.ft.servers.storage
Class CheckpointServerImpl

java.lang.Object
  extended byorg.objectweb.proactive.core.body.ft.servers.storage.CheckpointServerImpl
All Implemented Interfaces:
CheckpointServer, java.rmi.Remote
Direct Known Subclasses:
CheckpointServerCIC, CheckpointServerPMLRB

public abstract class CheckpointServerImpl
extends java.lang.Object
implements CheckpointServer

Since:
2.2
Author:
cdelbe

Field Summary
protected  java.util.Hashtable checkpointStorage
           
protected static ClassServerHelper classServerHelper
           
protected  java.lang.String codebase
           
protected static org.apache.log4j.Logger logger
           
protected  FTServer server
           
 
Constructor Summary
CheckpointServerImpl(FTServer server)
           
 
Method Summary
 java.lang.String getServerCodebase()
          Return the URL of the classServer linked to this checkpointServer.
protected  long getSize(java.io.Serializable c)
           
protected  long getUsedMem()
           
 void initialize()
          Reinit the state of the location server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.proactive.core.body.ft.servers.storage.CheckpointServer
addInfoToCheckpoint, commitHistory, getCheckpoint, getInfoFromCheckpoint, getLastCheckpoint, outputCommit, storeCheckpoint, storeReply, storeRequest
 

Field Detail

logger

protected static org.apache.log4j.Logger logger

server

protected FTServer server

classServerHelper

protected static ClassServerHelper classServerHelper

codebase

protected java.lang.String codebase

checkpointStorage

protected java.util.Hashtable checkpointStorage
Constructor Detail

CheckpointServerImpl

public CheckpointServerImpl(FTServer server)
Method Detail

getServerCodebase

public java.lang.String getServerCodebase()
                                   throws java.rmi.RemoteException
Description copied from interface: CheckpointServer
Return the URL of the classServer linked to this checkpointServer. This classServer is used by recovering active objects

Specified by:
getServerCodebase in interface CheckpointServer
Returns:
the URL of the classServer linked to this checkpointServer
Throws:
java.rmi.RemoteException
See Also:
CheckpointServer.getServerCodebase()

getSize

protected long getSize(java.io.Serializable c)

getUsedMem

protected long getUsedMem()

initialize

public void initialize()
                throws java.rmi.RemoteException
Description copied from interface: CheckpointServer
Reinit the state of the location server.

Specified by:
initialize in interface CheckpointServer
Throws:
java.rmi.RemoteException
See Also:
CheckpointServer.initialize()


Copyright 2001-2005 INRIA All Rights Reserved.