LiveInstance liveInstance = _liveInstanceMap.get(instanceName);
String sessionId = liveInstance.getSessionId();
List<String> currentStateNames =
accessor.getChildNames(keyBuilder.currentStates(instanceName, sessionId));
for (String currentStateName : currentStateNames) {
currentStateKeys.add(keyBuilder.currentState(instanceName, sessionId, currentStateName));
}
// ensure an empty current state map for all live instances and sessions
Map<String, Map<String, CurrentState>> instanceCurStateMap = allCurStateMap.get(instanceName);
if (instanceCurStateMap == null) {