예제 #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);
  }
예제 #3
0
 public EntryService getEntryService(String entryName) throws Exception {
   return entryServices.get(entryName);
 }