EccTrxCmd logWSCall = new EccTrxCmd() {
long startTime = System.currentTimeMillis();
@Override
protected void executeHelper() throws EppicExceptions, SQLException {
int duration = (int) (System.currentTimeMillis() - startTime);
WsTransaction wsTrx = wsTrxMgr.getInstance(new Timestamp(startTime), type.typeId, duration, totalCount,
failCount, transRefID);
wsTrx.setNew(true);
wsTrxMgr.save(_conn, wsTrx);
}
@Override
protected void initAccount() throws EppicExceptions, SQLException {
}
};