code: public void setGlobalDataSize(final long dataSize)
     {
        SecurityHelper.doPrivilegedAction(new PrivilegedAction<Void>()
        {
           public Void run()
           {
              CacheKey key = new GlobalDataSizeKey();
              cache.put(key, dataSize);
              return null;
           }
        });
     }
docs: {@inheritDoc}