void poll() throws Exception { if (stale) { return; } OSGiIndex ix; synchronized (this) { ix = index; } if (ix == null) return; if (ix.isStale()) { stale = true; this.notifyRepositoryListeners(); } }
void poll() throws Exception { if (stale) { return; } OSGiIndex ix; synchronized (this) { ix = index; } if (ix == null) return; if (ix.isStale()) { stale = true; this.notifyRepositoryListeners(); } }