public NodeCache getNodeCache ( String workspaceName ) throws WorkspaceNotFoundException { NodeCache cache = overriddenNodeCachesByWorkspaceName . get ( workspaceName ) ; if ( cache == null ) { cache = repositoryCache . getWorkspaceCache ( workspaceName ) ; } return cache ; }
Get the NodeCache for the given workspace name . The result will either be the overridden value supplied in the constructor or the workspace cache from the referenced RepositoryCache .