Class TxnIdFactory
- java.lang.Object
-
- org.apache.jena.dboe.transaction.txn.TxnIdFactory
-
public class TxnIdFactory extends java.lang.ObjectFactory for some forms ofTxnId. This is ony some possibleTxnIdGenerator- See Also:
TxnId
-
-
Field Summary
Fields Modifier and Type Field Description static TxnIdGeneratortxnIdGenSimpleGenerator forTxnIds for the counter based implementation.static TxnIdGeneratortxnIdGenUuidGenerator forTxnIds for the UUID based implementation.
-
Constructor Summary
Constructors Constructor Description TxnIdFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TxnIdcreate()Return the default, good enough for one JVM (usually the simple counter based implementation)static TxnIdcreate(byte[] bytes)static TxnIdcreateSimple()Return a TxnId from the counter based implementation.static TxnIdcreateUuid()Return a TxnId from the UUID based implementation.
-
-
-
Field Detail
-
txnIdGenSimple
public static final TxnIdGenerator txnIdGenSimple
Generator forTxnIds for the counter based implementation.
-
txnIdGenUuid
public static final TxnIdGenerator txnIdGenUuid
Generator forTxnIds for the UUID based implementation.
-
-
Method Detail
-
create
public static TxnId create()
Return the default, good enough for one JVM (usually the simple counter based implementation)
-
createSimple
public static TxnId createSimple()
Return a TxnId from the counter based implementation.
-
createUuid
public static TxnId createUuid()
Return a TxnId from the UUID based implementation.
-
create
public static TxnId create(byte[] bytes)
-
-