Interface OnePhaseResource


  • public interface OnePhaseResource
    • Method Detail

      • 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 java.io.IOException
        Throws:
        java.io.IOException
      • unpack

        void unpack​(InputObjectState os)
             throws java.io.IOException
        Throws:
        java.io.IOException