Package com.swiftmq.impl.store.standard
Class StoreTransactionImpl
java.lang.Object
com.swiftmq.impl.store.standard.StoreTransactionImpl
- All Implemented Interfaces:
CacheReleaseListener
- Direct Known Subclasses:
StoreReadTransactionImpl
,StoreWriteTransactionImpl
-
Constructor Summary
ConstructorDescriptionStoreTransactionImpl
(StoreContext ctx, String queueName, QueueIndex queueIndex) -
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
void
abort
(AsyncCompletionCallback callback) protected void
protected boolean
checkClosedAsync
(AsyncCompletionCallback callback) protected void
close()
void
commit()
void
commit
(AsyncCompletionCallback callback) protected AsyncCompletionCallback
createLocalCallback
(AsyncCompletionCallback callback) void
toString()
-
Constructor Details
-
StoreTransactionImpl
-
-
Method Details
-
addMessagePageReference
-
checkClosedAsync
protected boolean checkClosedAsync(AsyncCompletionCallback callback) -
createLocalCallback
protected AsyncCompletionCallback createLocalCallback(AsyncCompletionCallback callback) -
releaseCache
public void releaseCache()- Specified by:
releaseCache
in interfaceCacheReleaseListener
-
commit
public void commit() throws StoreException- Throws:
StoreException
-
commit
public void commit(AsyncCompletionCallback callback) -
abort
public void abort() throws StoreException- Throws:
StoreException
-
abort
public void abort(AsyncCompletionCallback callback) -
close
protected void close() -
toString
-