com.sleepycat.je
Class LogScanConfig

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

public class LogScanConfig
extends 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.
 LogScanConfig setForwards(boolean forwards)
          Configure Environment.scanLog(long, long, com.sleepycat.je.LogScanConfig, com.sleepycat.je.LogScanner) to scan forwards through the log.
 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 LogScanConfig 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.
Returns:
this

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 String toString()
Returns the values for each configuration attribute.

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


Copyright (c) 2004-2010 Oracle. All rights reserved.