}
@ManagedOperation(description = "Creates a new interpreter session")
public String createSessionId(String cacheName) {
String sessionId = UUID.randomUUID().toString();
SessionImpl session = new SessionImpl(codecRegistry, cacheManager, sessionId, timeService);
sessions.put(sessionId, session);
if (cacheName != null) {
session.setCurrentCache(cacheName);
}
return sessionId;
}