long currentTime = System.currentTimeMillis();
// record the new information:
if(trans != null) {
for(Xid xid : trans) {
XidImple xidImple = new XidImple(xid);
if(!_whenFirstSeen.containsKey(xidImple)) {
_whenFirstSeen.put(xidImple, currentTime);
}
_whenLastSeen.put(xidImple, currentTime);
}