Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.arjuna.ats.arjuna.coordinator
Interface OnePhaseResource

public interface OnePhaseResource

Method Summary
`int` | `commit()` Return values from TwoPhaseOutcome to indicate success or failure.
`void` | `pack(OutputObjectState os)`
`int` | `rollback()` Return values from TwoPhaseOutcome to indicate success or failure.
`void` | `unpack(InputObjectState os)`

Method Detail

### commit

    public int commit()

  Return values from TwoPhaseOutcome to indicate success or failure. If this fails, then we will automatically attempt to rollback any other participants.

### rollback

    public int rollback()

  Return values from TwoPhaseOutcome to indicate success or failure.

### pack

    public void pack(OutputObjectState os)
              throws java.io.IOException

  Throws:
    `java.io.IOException`

### unpack

    public void unpack(InputObjectState os)
                throws java.io.IOException

  Throws:
    `java.io.IOException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD