org.infinispan.container
Class IncrementalVersionableEntryFactoryImpl

java.lang.Object
  extended by org.infinispan.container.EntryFactoryImpl
      extended by org.infinispan.container.IncrementalVersionableEntryFactoryImpl
All Implemented Interfaces:
EntryFactory

public class IncrementalVersionableEntryFactoryImpl
extends EntryFactoryImpl

An entry factory that is capable of dealing with SimpleClusteredVersions. This should only be used with optimistically transactional, repeatable read, write skew check enabled caches in replicated or distributed mode.

Since:
5.1
Author:
Manik Surtani

Field Summary
 
Fields inherited from class org.infinispan.container.EntryFactoryImpl
localModeWriteSkewCheck, useRepeatableRead
 
Constructor Summary
IncrementalVersionableEntryFactoryImpl()
           
 
Method Summary
protected  MVCCEntry createWrappedEntry(Object key, Object value, EntryVersion version, boolean isForInsert, boolean forRemoval, long lifespan)
           
 void setWriteSkewCheckFlag()
           
 
Methods inherited from class org.infinispan.container.EntryFactoryImpl
init, injectDependencies, wrapEntryForClear, wrapEntryForDelta, wrapEntryForPut, wrapEntryForReading, wrapEntryForRemove, wrapEntryForReplace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncrementalVersionableEntryFactoryImpl

public IncrementalVersionableEntryFactoryImpl()
Method Detail

setWriteSkewCheckFlag

public void setWriteSkewCheckFlag()

createWrappedEntry

protected MVCCEntry createWrappedEntry(Object key,
                                       Object value,
                                       EntryVersion version,
                                       boolean isForInsert,
                                       boolean forRemoval,
                                       long lifespan)
Overrides:
createWrappedEntry in class EntryFactoryImpl

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.