com.sleepycat.je
Class LogScanConfig

java.lang.Object
  extended by com.sleepycat.je.LogScanConfig

public class LogScanConfig
extends java.lang.Object

For internal use only.


Constructor Summary
LogScanConfig()
          An instance created using the default constructor is initialized with the system's default settings.
 
Method Summary
 boolean getForwards()
          If true is returned, Environment.scanLog(long, long, com.sleepycat.je.LogScanConfig, com.sleepycat.je.LogScanner) is configured to scan forwards.
 void setForwards(boolean forwards)
          Configure Environment.scanLog(long, long, com.sleepycat.je.LogScanConfig, com.sleepycat.je.LogScanner) to scan forwards through the log.
 java.lang.String toString()
          Returns the values for each configuration attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogScanConfig

public LogScanConfig()
An instance created using the default constructor is initialized with the system's default settings.

Method Detail

setForwards

public void setForwards(boolean forwards)
Configure Environment.scanLog(long, long, com.sleepycat.je.LogScanConfig, com.sleepycat.je.LogScanner) to scan forwards through the log.

Parameters:
forwards - If true, configure Environment.scanLog(long, long, com.sleepycat.je.LogScanConfig, com.sleepycat.je.LogScanner) to scan forwards through the log. The default is true.

getForwards

public boolean getForwards()
If true is returned, Environment.scanLog(long, long, com.sleepycat.je.LogScanConfig, com.sleepycat.je.LogScanner) is configured to scan forwards.


toString

public java.lang.String toString()
Returns the values for each configuration attribute.

Overrides:
toString in class java.lang.Object
Returns:
the values for each configuration attribute.