A C D F G I L M P R S T U W

A

attributeAdded(HttpSessionBindingEvent) - Method in class com.andreani.xtol.node.SessionEventHandler
When an attribute is added to a session this method propagates modifications to the SessionSpaces
attributeRemoved(HttpSessionBindingEvent) - Method in class com.andreani.xtol.node.SessionEventHandler
When an attribute is removed from a session this method propagates modifications to the SessionSpaces
attributeReplaced(HttpSessionBindingEvent) - Method in class com.andreani.xtol.node.SessionEventHandler
When an attribute is replaced into a session this method propagates modifications to the SessionSpaces

C

cat - Variable in class com.andreani.xtol.node.TolerantServlet
 
cat - Variable in class com.andreani.xtol.node.SessionEventHandler
Log handler (Log4Java)
cat - Variable in class com.andreani.xtol.proxy.ForwServlet
Log handler (Log4Java)
cat - Variable in class com.andreani.xtol.proxy.ServerManager
Log handler (Log4Java)
cat - Variable in class com.andreani.xtol.test.SnoopSpace
Log handler (Log4Java)
cat - Variable in class com.andreani.xtol.util.SessionSpaceManager
Log handler (Log4Java)
cat - Variable in class com.andreani.xtol.util.TxManHandler
 
com.andreani.xtol.node - package com.andreani.xtol.node
The eXtremeTolerance node package.
com.andreani.xtol.proxy - package com.andreani.xtol.proxy
The eXtremeTolerance proxy package.
com.andreani.xtol.test - package com.andreani.xtol.test
The eXtremeTolerance test package.
com.andreani.xtol.util - package com.andreani.xtol.util
The eXtremeTolerance helper classes package.
COOKIE_FAIL_OVER - Static variable in class com.andreani.xtol.util.Global
This cookie is used to signal a server node failure.
COOKIE_NAME_SESSIONID - Static variable in class com.andreani.xtol.util.Global
Name of the cookie used to tie a client with a JavaSpace session object.

D

destroy() - Method in class com.andreani.xtol.node.TolerantServlet
 
destroy() - Method in class com.andreani.xtol.proxy.ForwServlet
 
DISCOV_TIMEOUT - Static variable in class com.andreani.xtol.util.Global
Timeout of the discovery phase.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.andreani.xtol.node.TolerantServlet
Always invoke super.doGet(req,resp) as first operation when you override this method.
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.andreani.xtol.proxy.ForwServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.andreani.xtol.proxy.ForwServlet
 

F

fail - Variable in class com.andreani.xtol.util.SessionEntry
Fail is true if the server which was servicing has failed and the new one assigned hasn't yet copied this session into its cache.
findNextServer() - Method in class com.andreani.xtol.proxy.ServerManager
This method returns the address of an available server.
followLink() - Method in class com.andreani.xtol.util.SessionEntryBean
 
ForwServlet - class com.andreani.xtol.proxy.ForwServlet.
This is
ForwServlet() - Constructor for class com.andreani.xtol.proxy.ForwServlet
Constructor for the ForwServlet object

G

getEntries() - Method in class com.andreani.xtol.node.ServerNode
Gets the Entries attribute of the ServerNode object.
getTxMgr() - Method in class com.andreani.xtol.util.TxManHandler
Gets the TxMgr attribute of the TxManHandler object
Global - class com.andreani.xtol.util.Global.
This class provides some constants accessible from all the other classes.
Global() - Constructor for class com.andreani.xtol.util.Global
 

I

id - Variable in class com.andreani.xtol.util.SessionEntry
This is the Global Unique Id that identify user session.
init() - Method in class com.andreani.xtol.proxy.ForwServlet
Servlet initializzation
init(ServletConfig) - Method in class com.andreani.xtol.node.TolerantServlet
Registers itself into the lookup service.
insertEmptyEntry(String, String) - Method in class com.andreani.xtol.test.SnoopSpace
Inserts an entry into the space with an empty hashtable.
insertEmptyEntry(String, String) - Method in class com.andreani.xtol.util.SessionSpaceManager
Inserts an entry into the space with an empty hashtable.
internalInst - Variable in class com.andreani.xtol.util.SessionEntryBean
 

L

LOOKUP_TIMEOUT - Static variable in class com.andreani.xtol.util.Global
Timeout of the lookup phase.

M

main(String[]) - Static method in class com.andreani.xtol.test.SnoopSpace
 
makeLink(Entry) - Method in class com.andreani.xtol.util.SessionEntryBean
 

P

populateSpace(int) - Method in class com.andreani.xtol.test.SnoopSpace
This method populate a new JavaSpace with SessionEntries contained in the other spaces.
populateSpace(int) - Method in class com.andreani.xtol.util.SessionSpaceManager
This method populate a new JavaSpace with SessionEntries contained in the other spaces.

R

rebuildSession(String, HttpServletRequest) - Method in class com.andreani.xtol.node.TolerantServlet
This method create a new HttpSession retrieving session data from a SessionSpace.
retrieveEntry(String) - Method in class com.andreani.xtol.util.SessionSpaceManager
Find an entry into the space.

S

serverAddr - Variable in class com.andreani.xtol.proxy.ForwServlet
This local cache contains the mapping between global session id and destination server address of each client.
serverAddr - Variable in class com.andreani.xtol.util.SessionEntry
The address of destination server
serverIP - Variable in class com.andreani.xtol.node.ServerNode
IP address of the server
serverLoad - Variable in class com.andreani.xtol.node.ServerNode
Actual load of this server.
ServerManager - class com.andreani.xtol.proxy.ServerManager.
This class manages the list of available servers.
ServerManager() - Constructor for class com.andreani.xtol.proxy.ServerManager
Constructor for the ServerManager object
ServerNode - class com.andreani.xtol.node.ServerNode.
This class represents a server and is used to register an available server into the lookup service.
ServerNode(String, int, double) - Constructor for class com.andreani.xtol.node.ServerNode
Constructor for the ServerNode object
serverPort - Variable in class com.andreani.xtol.node.ServerNode
Port number associated to the service
serviceAdded(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.proxy.ServerManager
Method used by the ServiceDiscoveryListener interface to signal the presence of a new server.
serviceAdded(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.test.SnoopSpace
 
serviceAdded(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.util.SessionSpaceManager
 
serviceAdded(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.util.TxManHandler
 
serviceChanged(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.proxy.ServerManager
Method used by the ServiceDiscoveryListener interface to signal the change of a server.
serviceChanged(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.test.SnoopSpace
Description of the Method
serviceChanged(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.util.SessionSpaceManager
 
serviceChanged(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.util.TxManHandler
 
serviceFailure(String) - Method in class com.andreani.xtol.proxy.ServerManager
Method invoked by the proxy if it noticed a server is not accessible
serviceIDNotify(ServiceID) - Method in class com.andreani.xtol.node.TolerantServlet
Debbugging purpose
serviceRemoved(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.proxy.ServerManager
Method used by the ServiceDiscoveryListener interface to signal the leaving of a server.
serviceRemoved(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.test.SnoopSpace
Description of the Method
serviceRemoved(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.util.SessionSpaceManager
 
serviceRemoved(ServiceDiscoveryEvent) - Method in class com.andreani.xtol.util.TxManHandler
 
session - Variable in class com.andreani.xtol.util.SessionEntry
This Hashtable contains all objects representing user state.
sessionCreated(HttpSessionEvent) - Method in class com.andreani.xtol.node.SessionEventHandler
Description of the Method
sessionDestroyed(HttpSessionEvent) - Method in class com.andreani.xtol.node.SessionEventHandler
 
SessionEntry - class com.andreani.xtol.util.SessionEntry.
This class is the Entry object contained into Session Spaces that stores user state and his bound server address.
SessionEntry() - Constructor for class com.andreani.xtol.util.SessionEntry
Empty Constructor for the SessionEntry object
SessionEntry(String, String, Hashtable, Boolean) - Constructor for class com.andreani.xtol.util.SessionEntry
Constructor for the SessionEntry object
SessionEntryBean - class com.andreani.xtol.util.SessionEntryBean.
This class is useful for browsing JavaSpace with Sun's space browser
SessionEntryBean() - Constructor for class com.andreani.xtol.util.SessionEntryBean
 
SessionEventHandler - class com.andreani.xtol.node.SessionEventHandler.
This class must be instantiated by the servlet container.
SessionEventHandler() - Constructor for class com.andreani.xtol.node.SessionEventHandler
Constructor for the SessionEventHandler object
SessionEventHandler(ServiceRegistrar) - Constructor for class com.andreani.xtol.node.SessionEventHandler
The constructor searches SessionSpace services through the lookup service and registers itself for notifications of new SessionSpace services.
SessionSpaceManager - class com.andreani.xtol.util.SessionSpaceManager.
This class manages available JavaSpaces putting and getting entries.
SessionSpaceManager() - Constructor for class com.andreani.xtol.util.SessionSpaceManager
Connects to the JavaSpaces that contain the SessionEntries and registers the listener for new spaces.
setFailStatus(String, boolean) - Method in class com.andreani.xtol.util.SessionSpaceManager
 
SnoopSpace - class com.andreani.xtol.test.SnoopSpace.
 
snoopSpace() - Method in class com.andreani.xtol.util.SessionSpaceManager
 
SnoopSpace() - Constructor for class com.andreani.xtol.test.SnoopSpace
Connects to the JavaSpaces that contain the SessionEntries and registers the listener for new spaces.

T

takeEntry() - Method in class com.andreani.xtol.test.SnoopSpace
Takes an entry from the JavaSpace
terminate() - Method in class com.andreani.xtol.proxy.ServerManager
Clear termination of the manager
terminate() - Method in class com.andreani.xtol.test.SnoopSpace
 
terminate() - Method in class com.andreani.xtol.util.SessionSpaceManager
 
TolerantServlet - class com.andreani.xtol.node.TolerantServlet.
This class realize the agent that joins the network and offers to it its services.
TolerantServlet() - Constructor for class com.andreani.xtol.node.TolerantServlet
 
toString() - Method in class com.andreani.xtol.util.SessionEntry
Formatted output, useful for debugging
TRANS_TIMEOUT - Static variable in class com.andreani.xtol.util.Global
Transaction timeout: if a transaction delay more then this value, the transaction server rolls back.
TX_MANAGER_NAME - Static variable in class com.andreani.xtol.util.Global
The name of the transaction manager.
TxManHandler - class com.andreani.xtol.util.TxManHandler.
Manager class for transactions.
TxManHandler() - Constructor for class com.andreani.xtol.util.TxManHandler
Constructor for the TxManHandler object

U

updateReferences(String, String) - Method in class com.andreani.xtol.test.SnoopSpace
 
updateReferences(String, String) - Method in class com.andreani.xtol.util.SessionSpaceManager
 
updateSession(SessionEntry) - Method in class com.andreani.xtol.util.SessionSpaceManager
 

W

writeEntry(Entry) - Method in class com.andreani.xtol.test.SnoopSpace
Description of the Method

A C D F G I L M P R S T U W

Copyright © 2001 Stefano Andreani - No Rights Reserved ;-)