Пример #1
0
  public void removeEntryService(String entryName) throws Exception {

    EntryService entryService = entryServices.remove(entryName);
    if (entryService == null) return;

    entryService.destroy();
  }
Пример #2
0
  public void createEntryService(String entryName) throws Exception {

    EntryService entryService =
        new EntryService(jmxService, partitionManager, partitionName, entryName);
    entryService.init();

    entryServices.put(entryName, entryService);
  }