@Override public synchronized void accessed(TypeNameMatch info) { // Fetching the timestamp might not be cheap (remote file system // external Jars. So check if we alreay have one. if (!fTimestampMapping.containsKey(info)) { fTimestampMapping.put(info, new Long(getContainerTimestamp(info))); } super.accessed(info); }
@Override public synchronized void accessed(TypeNameMatch info) { // Fetching the timestamp might not be cheap (remote file system // external Jars. So check if we alreay have one. if (!fTimestampMapping.containsKey(info)) { fTimestampMapping.put(info, Long.valueOf(getContainerTimestamp(info))); } super.accessed(info); }
public synchronized void accessed(TypeNameMatch info) { // Fetching the timestamp might not be cheap (remote file system // external Jars. So check if we alreay have one. if (!fTimestampMapping.containsKey(info)) { fTimestampMapping.put(info, new Long(getContainerTimestamp(info))); } super.accessed(info); }
public synchronized void replace(TypeNameMatch old, TypeNameMatch newMatch) { fTimestampMapping.remove(old); fTimestampMapping.put(newMatch, new Long(getContainerTimestamp(newMatch))); super.remove(old); super.accessed(newMatch); }
public synchronized void replace(TypeNameMatch old, TypeNameMatch newMatch) { fTimestampMapping.remove(old); fTimestampMapping.put(newMatch, Long.valueOf(getContainerTimestamp(newMatch))); super.remove(old); super.accessed(newMatch); }
public synchronized void replace(TypeNameMatch old, TypeNameMatch newMatch) { fTimestampMapping.remove(old); fTimestampMapping.put(newMatch, new Long(getContainerTimestamp(newMatch))); super.remove(old); super.accessed(newMatch); }
for (Iterator<TypeNameMatch> iter= typesToCheck.iterator(); iter.hasNext();) { TypeNameMatch type= iter.next(); long currentTimestamp= getContainerTimestamp(type); Long lastTested= fTimestampMapping.get(type); if (lastTested != null && currentTimestamp != IResource.NULL_STAMP && currentTimestamp == lastTested.longValue() && !isContainerDirty(type))
for (Iterator iter= typesToCheck.iterator(); iter.hasNext();) { TypeNameMatch type= (TypeNameMatch)iter.next(); long currentTimestamp= getContainerTimestamp(type); Long lastTested= (Long)fTimestampMapping.get(type); if (lastTested != null && currentTimestamp != IResource.NULL_STAMP && currentTimestamp == lastTested.longValue() && !isContainerDirty(type))
for (Iterator<TypeNameMatch> iter= typesToCheck.iterator(); iter.hasNext();) { TypeNameMatch type= iter.next(); long currentTimestamp= getContainerTimestamp(type); Long lastTested= fTimestampMapping.get(type); if (lastTested != null && currentTimestamp != IResource.NULL_STAMP && currentTimestamp == lastTested.longValue() && !isContainerDirty(type))