public void recordVolumeOperation(DbClient dbClient,OperationTypeEnum opType,Operation.Status status,Object... extParam){
  try {
    boolean opStatus=(Operation.Status.ready == status) ? true : false;
    String evType;
    evType=opType.getEvType(opStatus);
    String evDesc=opType.getDescription();
    String opStage=AuditLogManager.AUDITOP_END;
    _logger.info("opType: {} detail: {}",opType.toString(),evType.toString() + ':' + evDesc);
    URI uri=(URI)extParam[0];
    recordBourneVolumeEvent(dbClient,evType,status,evDesc,uri);
    String id=uri.toString();
    AuditBlockUtil.auditBlock(dbClient,opType,opStatus,opStage,id);
  }
 catch (  Exception e) {
    _logger.error("Failed to record volume operation {}, err:",opType.toString(),e);
  }
}

public void recordVolumeOperation ( DbClient dbClient , OperationTypeEnum opType , Operation . Status status , Object ... extParam ) { try { boolean opStatus = ( Operation . Status . ready == status ) ? true : false ; String evType ; evType = opType . getEvType ( opStatus ) ; String evDesc = opType . getDescription ( ) ; String opStage = AuditLogManager . AUDITOP_END ; _logger . info ( "opType: {} detail: {}" , opType . toString ( ) , evType . toString ( ) + ':' + evDesc ) ; URI uri = ( URI ) extParam [ 0 ] ; recordBourneVolumeEvent ( dbClient , evType , status , evDesc , uri ) ; String id = uri . toString ( ) ; AuditBlockUtil . auditBlock ( dbClient , opType , opStatus , opStage , id ) ; } catch ( Exception e ) { _logger . error ( "Failed to record volume operation {}, err:" , opType . toString ( ) , e ) ; } }
record volume related event and audit
