List<DataUpdater<ZNRecord>> updaters = Lists.newArrayList(); updaters.add(idealStateUpdater); accessor.updateChildren(Arrays.asList(idealStatePath), updaters, AccessOption.PERSISTENT); _prefListHistory.add(prefList);
accessor.updateChildren(Arrays.asList(idealStatePath), updaters, AccessOption.PERSISTENT); _prefListHistory.add(prefList);