Package org.exoplatform.services.jcr.infinispan

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


    */
   public long getGroupOfNodesQuota(String repositoryName, String workspaceName, String patternPath)
      throws UnknownQuotaLimitException
   {
      String workspaceUniqueName = composeWorkspaceUniqueName(repositoryName, workspaceName);
      CacheKey key = new GroupOfNodesQuotaKey(workspaceUniqueName, patternPath);

      return getQuotaValue(key).getQuotaLimit();
   }
View Full Code Here


    */
   public boolean isNodeQuotaAsync(String repositoryName, String workspaceName, String nodePath)
      throws UnknownQuotaLimitException
   {
      String workspaceUniqueName = composeWorkspaceUniqueName(repositoryName, workspaceName);
      CacheKey key = new NodeQuotaKey(workspaceUniqueName, nodePath);

      return getQuotaValue(key).getAsyncUpdate();
   }
View Full Code Here

    */
   public boolean isGroupOfNodesQuotaAsync(String repositoryName, String workspaceName, String patternPath)
      throws UnknownQuotaLimitException
   {
      String workspaceUniqueName = composeWorkspaceUniqueName(repositoryName, workspaceName);
      CacheKey key = new GroupOfNodesQuotaKey(workspaceUniqueName, patternPath);

      return getQuotaValue(key).getAsyncUpdate();
   }
View Full Code Here

    * {@inheritDoc}
    */
   public void removeNodeQuota(String repositoryName, String workspaceName, String nodePath)
   {
      String workspaceUniqueName = composeWorkspaceUniqueName(repositoryName, workspaceName);
      CacheKey key = new NodeQuotaKey(workspaceUniqueName, nodePath);

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

    * {@inheritDoc}
    */
   public void removeGroupOfNodesQuota(String repositoryName, String workspaceName, String patternPath)
   {
      String workspaceUniqueName = composeWorkspaceUniqueName(repositoryName, workspaceName);
      CacheKey key = new GroupOfNodesQuotaKey(workspaceUniqueName, patternPath);

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

         // check all ITEMS in cache
         Iterator<CacheKey> keys = cache.keySet().iterator();

         while (keys.hasNext())
         {
            CacheKey key = keys.next();
            if (key instanceof CacheId)
            {
               ItemData data = (ItemData)cache.get(key);
               ISPNCacheWorkspaceStorageCache.updateTreePath(cache, getOwnerId(), data, prevRootPath, newRootPath, acl);
            }
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.