Interface OnePhaseResource

All Known Implementing Classes:
XAOnePhaseResource

public interface OnePhaseResource
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return values from TwoPhaseOutcome to indicate success or failure.
    void
     
    int
    Return values from TwoPhaseOutcome to indicate success or failure.
    void
     
  • Method Details

    • commit

      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

      int rollback()
      Return values from TwoPhaseOutcome to indicate success or failure.
    • pack

      void pack(OutputObjectState os) throws IOException
      Throws:
      IOException
    • unpack

      void unpack(InputObjectState os) throws IOException
      Throws:
      IOException