org.objectweb.proactive.core.body.ft.servers.storage
Class CheckpointServerImpl
java.lang.Object
org.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
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 |
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
CheckpointServerImpl
public CheckpointServerImpl(FTServer server)
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.