public void removeEntryService(String entryName) throws Exception { EntryService entryService = entryServices.remove(entryName); if (entryService == null) return; entryService.destroy(); }
public void createEntryService(String entryName) throws Exception { EntryService entryService = new EntryService(jmxService, partitionManager, partitionName, entryName); entryService.init(); entryServices.put(entryName, entryService); }