public static long getIndexStamp(VirtualFile file, ID<?, ?> indexName) { synchronized (getStripedLock(file)) { Timestamps stamp = createOrGetTimeStamp(file); if (stamp != null) return stamp.get(indexName); return 0; } }