/** Allows subclasses that directly modifies the * map with nodes to synchronize the state of the children. * This method should be called under * MUTEX.writeAccess. * * @param key the key that should be refreshed */ final void refreshKeyImpl(T key) { entrySupport().refreshEntry(new ME(key, null)); }
public void run() { Keys.this.entrySupport().refreshEntry(createEntryForKey(key)); } }
/** This method can be called by subclasses that * directly modify the nodes collection to update the * state of the nodes appropriatelly. * This method should be called under * MUTEX.writeAccess. */ final void refreshImpl() { if (isInitialized()) { Array.this.entrySupport().refreshEntry(getNodesEntry()); entrySupport().getNodes(false); } else if (nodes != null) { for (Node n : nodes) { n.assignTo(this, -1); } } }