org.jppf.comm.recovery
Class RecoveryServer

java.lang.Object
  extended by org.jppf.utils.ThreadSynchronization
      extended by org.jppf.comm.recovery.RecoveryServer
All Implemented Interfaces:
Runnable

public class RecoveryServer
extends ThreadSynchronization
implements Runnable

This class handles the server-side management of recovery connections to remote peers.

Author:
Laurent Cohen

Field Summary
static char CLIENT
          Indicates the remote peer is a client.
static char DRIVER
          Indicates the remote peer is a driver.
static char NODE
          Indicates the remote peer is a node.
 
Fields inherited from class org.jppf.utils.ThreadSynchronization
stopped
 
Constructor Summary
RecoveryServer()
          Default constructor.
 
Method Summary
 void close()
          Close this server and release the resources it is using.
 Reaper getReaper()
          Get the reaper for this recover server.
 void run()
          
 
Methods inherited from class org.jppf.utils.ThreadSynchronization
goToSleep, goToSleep, goToSleep, isStopped, setStopped, wakeUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DRIVER

public static final char DRIVER
Indicates the remote peer is a driver.

See Also:
Constant Field Values

NODE

public static final char NODE
Indicates the remote peer is a node.

See Also:
Constant Field Values

CLIENT

public static final char CLIENT
Indicates the remote peer is a client.

See Also:
Constant Field Values
Constructor Detail

RecoveryServer

public RecoveryServer()
Default constructor.

Method Detail

run

public void run()

Specified by:
run in interface Runnable

close

public void close()
Close this server and release the resources it is using.


getReaper

public Reaper getReaper()
Get the reaper for this recover server.

Returns:
a Reaper instance.


Copyright © 2005-2010 JPPF Team.