docs: public SessionCache createSession(ExecutionContext context,
              String workspaceName,
              boolean readOnly) {
          WorkspaceCache workspaceCache = workspace(workspaceName);
          if (readOnly) {
              return new ReadOnlySessionCache(context, workspaceCache);
          }
          return new WritableSessionCache(context, workspaceCache, txWorkspaceCaches, repositoryEnvironment);
      }