com.neeve.ods
Class IStoreJournallingWriter.JournallingParameters

java.lang.Object
  extended by com.neeve.ods.IStoreJournallingWriter.JournallingParameters
Enclosing interface:
IStoreJournallingWriter

public static final class IStoreJournallingWriter.JournallingParameters
extends Object

Contains journalling parameters


Constructor Summary
IStoreJournallingWriter.JournallingParameters(boolean detached)
           
 
Method Summary
 boolean isDetached()
          Specifies whether a journalling writer is journalling detached.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IStoreJournallingWriter.JournallingParameters

public IStoreJournallingWriter.JournallingParameters(boolean detached)
Method Detail

isDetached

public final boolean isDetached()
Specifies whether a journalling writer is journalling detached.

A journalling writer must specify detached=true if it is journalling detachedly using an asynchronous background thread. When specified so, the store runtime ensures that the serialized objects that it supplies the writer are safe for detached persistence outside of the scope of the record(), commit() or sync() methods.



Copyright © 2015 Neeve Research, LLC. All Rights Reserved.