Package com.swiftmq.impl.store.standard
Class CompositeStoreTransactionImpl
java.lang.Object
CompositeStoreTransaction
com.swiftmq.impl.store.standard.CompositeStoreTransactionImpl
- All Implemented Interfaces:
CacheReleaseListener
public class CompositeStoreTransactionImpl
extends CompositeStoreTransaction
implements CacheReleaseListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
void
abort
(AsyncCompletionCallback asyncCompletionCallback) void
abort
(XidImpl xid) void
void
abortTransaction
(AsyncCompletionCallback callback) protected void
checkClosedAsync
(AsyncCompletionCallback callback) protected void
close()
void
commit()
void
commit
(AsyncCompletionCallback asyncCompletionCallback) void
commit
(XidImpl xid) void
void
commitTransaction
(AsyncCompletionCallback callback) protected AsyncCompletionCallback
createLocalCallback
(AsyncCompletionCallback callback) void
insert
(StoreEntry storeEntry) boolean
void
prepare
(XidImpl xid) void
void
void
setMarkRedelivered
(boolean markRedelivered) void
setPersistentStore
(PersistentStore persistentStore) void
setReferencable
(boolean referencable) toString()
-
Constructor Details
-
CompositeStoreTransactionImpl
-
-
Method Details
-
setReferencable
public void setReferencable(boolean referencable) -
isReferencable
public boolean isReferencable() -
setMarkRedelivered
public void setMarkRedelivered(boolean markRedelivered) -
checkClosedAsync
protected void checkClosedAsync(AsyncCompletionCallback callback) -
createLocalCallback
protected AsyncCompletionCallback createLocalCallback(AsyncCompletionCallback callback) -
releaseCache
public void releaseCache()- Specified by:
releaseCache
in interfaceCacheReleaseListener
-
remove
- Throws:
StoreException
-
insert
public void insert(StoreEntry storeEntry) throws StoreException - Throws:
StoreException
-
prepare
public void prepare(XidImpl xid) throws StoreException - Throws:
StoreException
-
commit
public void commit(XidImpl xid) throws StoreException - Throws:
StoreException
-
commit
public void commit() throws StoreException- Throws:
StoreException
-
commit
public void commit(AsyncCompletionCallback asyncCompletionCallback) -
abort
public void abort(XidImpl xid) throws StoreException - Throws:
StoreException
-
abort
public void abort() throws StoreException- Throws:
StoreException
-
abort
public void abort(AsyncCompletionCallback asyncCompletionCallback) -
setPersistentStore
public void setPersistentStore(PersistentStore persistentStore) throws StoreException - Throws:
StoreException
-
commitTransaction
public void commitTransaction() throws StoreException- Throws:
StoreException
-
commitTransaction
public void commitTransaction(AsyncCompletionCallback callback) -
abortTransaction
public void abortTransaction() throws StoreException- Throws:
StoreException
-
abortTransaction
public void abortTransaction(AsyncCompletionCallback callback) -
close
protected void close() -
toString
-