Interface IUnitOfWork<R,​P>

  • All Known Implementing Classes:
    CancelableUnitOfWork, IUnitOfWork.Void

    public interface IUnitOfWork<R,​P>
    A unit of work acts as a transaction block, which can be passed to an IXtextDocument in order to get read or write access to it's parsed models.
    • Method Detail

      • exec

        R exec​(P state)
        throws java.lang.Exception
        Parameters:
        state - - The state, which is synchronized while this method is executed Do not return any references to something contained in this resource
        Returns:
        computed value R
        Throws:
        java.lang.Exception