public bool processUpdateSeqDate(int seq, int date) { lock(this) { if(updateSeq(seq)) { this.date = date; return true; } else { return false; } } }