Map<String, List<String>> pathMap = groupSessionPath(cmdresult);
List<AutoKeeperEphemeralStat> autoKeeperEphemeralStats = new ArrayList<AutoKeeperEphemeralStat>();
for (Map.Entry<String, List<String>> entry : pathMap.entrySet()) {
AutoKeeperEphemeralStat autoKeeperEphemeralStat = new AutoKeeperEphemeralStat();
autoKeeperEphemeralStat.setSessionId(entry.getKey());
autoKeeperEphemeralStat.setPaths(entry.getValue());
autoKeeperEphemeralStats.add(autoKeeperEphemeralStat);
}
autoKeeperData.joinEphemeral(address, autoKeeperEphemeralStats);