Package io.axway.iron.core.spi.testing
Class TransientStore
- java.lang.Object
-
- io.axway.iron.core.spi.testing.TransientStore
-
- All Implemented Interfaces:
io.axway.iron.spi.storage.SnapshotStore
,io.axway.iron.spi.storage.TransactionStore
public class TransientStore extends java.lang.Object implements io.axway.iron.spi.storage.SnapshotStore, io.axway.iron.spi.storage.TransactionStore
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.reactivestreams.Publisher<io.axway.iron.spi.storage.TransactionStore.TransactionInput>
allTransactions()
void
close()
org.reactivestreams.Publisher<io.axway.iron.spi.storage.SnapshotStore.StoreSnapshotReader>
createSnapshotReader(java.math.BigInteger transactionId)
io.axway.iron.spi.storage.SnapshotStore.SnapshotStoreWriter
createSnapshotWriter(java.math.BigInteger transactionId)
java.io.OutputStream
createTransactionOutput(java.lang.String storeName)
void
deleteSnapshot(java.math.BigInteger transactionId)
boolean
isReadonlyLockSet()
java.util.List<java.math.BigInteger>
listSnapshots()
void
lockReadonly(boolean value)
void
seekTransaction(java.math.BigInteger latestProcessedTransactionId)
-
-
-
Method Detail
-
createSnapshotWriter
public io.axway.iron.spi.storage.SnapshotStore.SnapshotStoreWriter createSnapshotWriter(java.math.BigInteger transactionId)
- Specified by:
createSnapshotWriter
in interfaceio.axway.iron.spi.storage.SnapshotStore
-
createSnapshotReader
public org.reactivestreams.Publisher<io.axway.iron.spi.storage.SnapshotStore.StoreSnapshotReader> createSnapshotReader(java.math.BigInteger transactionId)
- Specified by:
createSnapshotReader
in interfaceio.axway.iron.spi.storage.SnapshotStore
-
listSnapshots
public java.util.List<java.math.BigInteger> listSnapshots()
- Specified by:
listSnapshots
in interfaceio.axway.iron.spi.storage.SnapshotStore
-
lockReadonly
public void lockReadonly(boolean value)
- Specified by:
lockReadonly
in interfaceio.axway.iron.spi.storage.TransactionStore
-
isReadonlyLockSet
public boolean isReadonlyLockSet()
- Specified by:
isReadonlyLockSet
in interfaceio.axway.iron.spi.storage.TransactionStore
-
close
public void close()
- Specified by:
close
in interfaceio.axway.iron.spi.storage.SnapshotStore
- Specified by:
close
in interfaceio.axway.iron.spi.storage.TransactionStore
-
deleteSnapshot
public void deleteSnapshot(java.math.BigInteger transactionId)
- Specified by:
deleteSnapshot
in interfaceio.axway.iron.spi.storage.SnapshotStore
-
createTransactionOutput
public java.io.OutputStream createTransactionOutput(java.lang.String storeName)
- Specified by:
createTransactionOutput
in interfaceio.axway.iron.spi.storage.TransactionStore
-
allTransactions
public org.reactivestreams.Publisher<io.axway.iron.spi.storage.TransactionStore.TransactionInput> allTransactions()
- Specified by:
allTransactions
in interfaceio.axway.iron.spi.storage.TransactionStore
-
seekTransaction
public void seekTransaction(java.math.BigInteger latestProcessedTransactionId)
- Specified by:
seekTransaction
in interfaceio.axway.iron.spi.storage.TransactionStore
-
-