Package org.exoplatform.services.jcr.infinispan

Examples of org.exoplatform.services.jcr.infinispan.CacheKey


    * {@inheritDoc}
    */
   public void removeWorkspaceQuota(String repositoryName, String workspaceName)
   {
      String wsUniqueName = composeWorkspaceUniqueName(repositoryName, workspaceName);
      CacheKey key = new WorkspaceQuotaKey(wsUniqueName);

      cache.remove(key);
   }
View Full Code Here


    * {@inheritDoc}
    */
   public void setWorkspaceDataSize(String repositoryName, String workspaceName, long dataSize)
   {
      String wsUniqueName = composeWorkspaceUniqueName(repositoryName, workspaceName);
      CacheKey key = new WorkspaceDataSizeKey(wsUniqueName);

      cache.put(key, dataSize);
   }
View Full Code Here

    * {@inheritDoc}
    */
   public long getWorkspaceDataSize(String repositoryName, String workspaceName) throws UnknownDataSizeException
   {
      String wsUniqueName = composeWorkspaceUniqueName(repositoryName, workspaceName);
      CacheKey key = new WorkspaceDataSizeKey(wsUniqueName);

      return getDataSize(key);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public long getRepositoryQuota(String repositoryName) throws UnknownQuotaLimitException
   {
      CacheKey key = new RepositoryQuotaKey(repositoryName);
      return getQuota(key);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public void setRepositoryQuota(String repositoryName, long quotaLimit)
   {
      CacheKey key = new RepositoryQuotaKey(repositoryName);
      cache.put(key, quotaLimit);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public void removeRepositoryQuota(String repositoryName)
   {
      CacheKey key = new RepositoryQuotaKey(repositoryName);
      cache.remove(key);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public long getRepositoryDataSize(String repositoryName) throws UnknownDataSizeException
   {
      CacheKey key = new RepositoryDataSizeKey(repositoryName);
      return getDataSize(key);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public void setRepositoryDataSize(String repositoryName, long dataSize)
   {
      CacheKey key = new RepositoryDataSizeKey(repositoryName);
      cache.put(key, dataSize);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public long getGlobalDataSize() throws UnknownDataSizeException
   {
      CacheKey key = new GlobalDataSizeKey();
      return getDataSize(key);
   }
View Full Code Here

   /**
    * {@inheritDoc}
    */
   public void setGlobalDataSize(long dataSize)
   {
      CacheKey key = new GlobalDataSizeKey();
      cache.put(key, dataSize);
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.services.jcr.infinispan.CacheKey

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.