/** * @since GemFire 5.7 */ private void endInitLocator() throws IOException { InternalLocator loc = this.startedLocator; if (loc != null) { boolean finished = false; try { loc.startServerLocation(this); loc.endStartLocator(this); finished = true; } finally { if (!finished) { loc.stop(); } } } }
endStartLocator(this.myDs); logger.info("Locator restart completed");
newLocator.endStartLocator(null); startedLocator = true; return newLocator;