code: public void setWorkspaceDataSize(final String repositoryName, final String workspaceName, final long dataSize)
     {
        SecurityHelper.doPrivilegedAction(new PrivilegedAction<Void>()
        {
           public Void run()
           {
              String wsUniqueName = composeWorkspaceUniqueName(repositoryName, workspaceName);
              CacheKey key = new WorkspaceDataSizeKey(wsUniqueName);
  
              cache.put(key, dataSize);
              return null;
           }
        });
     }
docs: {@inheritDoc}