private synchronized LatticeBootDashElement ensureElement(String processGuid) { LatticeBootDashElement existing; LatticeBootDashElement created = null; synchronized (this) { existing = elementByProcessGuid.get(processGuid); if (existing == null) { created = existing = new LatticeBootDashElement( this, ltcTarget, processGuid, PropertyStoreFactory.createSubStore(processGuid, store)); elementByProcessGuid.put(processGuid, created); } } if (created != null) { elements.add(created); } return existing; }