public void clean(String groupId, String unitId, String unitType, int state) throws TransactionClearException {
    """
	清理事务
	
	@param groupId  groupId
	@param unitId   unitId
	@param unitType unitType
	@param state    transactionState
	@throws TransactionClearException TransactionClearException
    """
        txLogger.txTrace(groupId, unitId, "clean transaction");
        try {
            cleanWithoutAspectLog(groupId, unitId, unitType, state);
            aspectLogger.clearLog(groupId, unitId);
        } catch (TransactionClearException e) {
            if (!e.isNeedCompensation()) {
                aspectLogger.clearLog(groupId, unitId);
            }
        } catch (Throwable throwable) {
            aspectLogger.clearLog(groupId, unitId);
        }
        txLogger.txTrace(groupId, unitId, "clean transaction over");
    }
public void clean(String groupId, String unitId, String unitType, int state) throws TransactionClearException {
        txLogger.txTrace(groupId, unitId, "clean transaction");
        try {
            cleanWithoutAspectLog(groupId, unitId, unitType, state);
            aspectLogger.clearLog(groupId, unitId);
        } catch (TransactionClearException e) {
            if (!e.isNeedCompensation()) {
                aspectLogger.clearLog(groupId, unitId);
            }
        } catch (Throwable throwable) {
            aspectLogger.clearLog(groupId, unitId);
        }
        txLogger.txTrace(groupId, unitId, "clean transaction over");
    }
public void clean ( String groupId , String unitId , String unitType , int state ) throws TransactionClearException { txLogger . txTrace ( groupId , unitId , "clean transaction" ) ; try { cleanWithoutAspectLog ( groupId , unitId , unitType , state ) ; aspectLogger . clearLog ( groupId , unitId ) ; } catch ( TransactionClearException e ) { if ( ! e . isNeedCompensation ( ) ) { aspectLogger . clearLog ( groupId , unitId ) ; } } catch ( Throwable throwable ) { aspectLogger . clearLog ( groupId , unitId ) ; } txLogger . txTrace ( groupId , unitId , "clean transaction over" ) ; }
清理事务

@param groupId  groupId
@param unitId   unitId
@param unitType unitType
@param state    transactionState
@throws TransactionClearException TransactionClearException
清理事务