org.gridbus.broker.persistence
Class Recovery

java.lang.Object
  extended by org.gridbus.broker.persistence.Recovery

public class Recovery
extends java.lang.Object

Author:
krishna

Constructor Summary
Recovery()
           
 
Method Summary
static Reader getReader()
           
static GridbusFarmingEngine recover(java.lang.Object brokerID)
          Recovers the stored state of the Broker
static GridbusFarmingEngine recover(java.lang.Object brokerID, BrokerProperties config)
           
static void setReader(Reader reader)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Recovery

public Recovery()
Method Detail

recover

public static GridbusFarmingEngine recover(java.lang.Object brokerID,
                                           BrokerProperties config)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

recover

public static GridbusFarmingEngine recover(java.lang.Object brokerID)
                                    throws java.lang.Exception
Recovers the stored state of the Broker

Parameters:
brokerID -
Returns:
Throws:
java.lang.Exception

getReader

public static Reader getReader()
Returns:
Returns the reader.

setReader

public static void setReader(Reader reader)
Parameters:
reader - The reader to set.