com.sleepycat.je.sync
Class ImportConfig

java.lang.Object
  extended by com.sleepycat.je.sync.ImportConfig

public class ImportConfig
extends Object

Optional import parameters that may be passed to a sync operation.


Field Summary
static ImportConfig DEFAULT
           
 
Constructor Summary
ImportConfig()
           
 
Method Summary
 Durability getDurability()
           
 long getMaxOperations()
           
 long getMaxTime(TimeUnit unit)
           
 boolean getRefreshAll()
           
 ImportConfig setDurability(Durability durability)
           
 ImportConfig setMaxOperations(long writeOperations)
           
 ImportConfig setMaxTime(long timeout, TimeUnit unit)
           
 ImportConfig setRefreshAll(boolean refreshAll)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final ImportConfig DEFAULT
Constructor Detail

ImportConfig

public ImportConfig()
Method Detail

setMaxTime

public ImportConfig setMaxTime(long timeout,
                               TimeUnit unit)

getMaxTime

public long getMaxTime(TimeUnit unit)

setMaxOperations

public ImportConfig setMaxOperations(long writeOperations)

getMaxOperations

public long getMaxOperations()

setDurability

public ImportConfig setDurability(Durability durability)

getDurability

public Durability getDurability()

setRefreshAll

public ImportConfig setRefreshAll(boolean refreshAll)

getRefreshAll

public boolean getRefreshAll()


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