Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for Websphere MQ API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.stc.connector.webspheremqadapter.message
Interface ISyncpointControl

    public interface ISyncpointControl

Represents a controller object with which to signal WebSphere MQ to commit or backout a unit of work. ISyncpointControl objects are obtained from IMessage objects; see `IMessage.getSyncpointController()`.

Version:
  $Revision: 1.4 $

Method Summary
`void` | `backout()` Commands the associated queue manager to repudiate all gets and puts that have occured since the last syncpoint.
`void` | `commit()` Commands the associated queue manager to make all gets and puts that have occured since the last syncpoint permanent, and to establish a new syncpoint.

Method Detail

### commit

    void commit()
                throws MQException

  Commands the associated queue manager to make all gets and puts that have occured since the last syncpoint permanent, and to establish a new syncpoint. This method delegates to `MQQueueManager.commit()`.

  Parameters:
    None.

  Throws:
    `MQException` - if thrown by `MQQueueManager.commit()`

### backout

    void backout()
                 throws MQException

  Commands the associated queue manager to repudiate all gets and puts that have occured since the last syncpoint. This method delegates to `MQQueueManager.backout()`.

  Parameters:
    None.

  Throws:
    `MQException` - if thrown by `MQQueueManager.backout()`

Package | Class | Tree | Deprecated | Index | Help
| Sun Adapter for Websphere MQ API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.