org.multiverse.stms.alpha.programmatic
Class AlphaProgrammaticRefFactory
java.lang.Object
org.multiverse.stms.alpha.programmatic.AlphaProgrammaticRefFactory
- All Implemented Interfaces:
- org.multiverse.api.programmatic.ProgrammaticRefFactory
public final class AlphaProgrammaticRefFactory
- extends java.lang.Object
- implements org.multiverse.api.programmatic.ProgrammaticRefFactory
The ProgrammaticRefFactory implementation specific for
the AlphaStm.
- Author:
- Peter Veentjer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlphaProgrammaticRefFactory
public AlphaProgrammaticRefFactory(AlphaStm stm)
- Creates a new AlphaProgrammaticRefFactory with the provided stm.
- Parameters:
stm - this AlphaProgrammaticRef belongs to.
- Throws:
java.lang.NullPointerException - if stm is null.
createLongRef
public AlphaProgrammaticLongRef createLongRef(org.multiverse.api.Transaction tx,
long value)
- Specified by:
createLongRef in interface org.multiverse.api.programmatic.ProgrammaticRefFactory
createLongRef
public AlphaProgrammaticLongRef createLongRef(long value)
- Specified by:
createLongRef in interface org.multiverse.api.programmatic.ProgrammaticRefFactory
atomicCreateLongRef
public AlphaProgrammaticLongRef atomicCreateLongRef(long value)
- Specified by:
atomicCreateLongRef in interface org.multiverse.api.programmatic.ProgrammaticRefFactory
createRef
public <E> AlphaProgrammaticRef<E> createRef(org.multiverse.api.Transaction tx,
E value)
- Specified by:
createRef in interface org.multiverse.api.programmatic.ProgrammaticRefFactory
createRef
public <E> AlphaProgrammaticRef<E> createRef(E value)
- Specified by:
createRef in interface org.multiverse.api.programmatic.ProgrammaticRefFactory
atomicCreateRef
public <E> AlphaProgrammaticRef<E> atomicCreateRef(E value)
- Specified by:
atomicCreateRef in interface org.multiverse.api.programmatic.ProgrammaticRefFactory
atomicCreateRef
public <E> AlphaProgrammaticRef<E> atomicCreateRef()
- Specified by:
atomicCreateRef in interface org.multiverse.api.programmatic.ProgrammaticRefFactory
Copyright © 2008-2010 Multiverse. All Rights Reserved.