Package net.timewalker.ffmq4.utils
Interface Committable
-
- All Known Implementing Classes:
AbstractLocalDestination,LocalQueue,LocalTopic
public interface CommittableCommittable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcloseTransaction()Unlock the destination for transactional updatevoidcommitChanges()Commit all changes (make sure they are really applied)voidcommitChanges(SynchronizationBarrier barrier)Commit all changes (make sure they are really applied) (ASYNCHRONOUS)StringgetName()Get the committable namevoidopenTransaction()Lock the destination for transactional update
-
-
-
Method Detail
-
getName
String getName()
Get the committable name
-
openTransaction
void openTransaction()
Lock the destination for transactional update
-
closeTransaction
void closeTransaction()
Unlock the destination for transactional update
-
commitChanges
void commitChanges() throws javax.jms.JMSExceptionCommit all changes (make sure they are really applied)- Throws:
javax.jms.JMSException
-
commitChanges
void commitChanges(SynchronizationBarrier barrier) throws javax.jms.JMSException
Commit all changes (make sure they are really applied) (ASYNCHRONOUS)- Parameters:
barrier- a synchronization barrier- Throws:
javax.jms.JMSException
-
-