Examples of clearCache()


Examples of org.hornetq.core.paging.cursor.impl.PageCursorProviderImpl.clearCache()

         sessionConsumer.rollback();
        
         PageCursorProviderImpl cursor = (PageCursorProviderImpl)queue.getPageSubscription().getPagingStore().getCursorProvier();
        
         cursor.clearCache();

         try
         {
            server.destroyQueue(QUEUE);
         }
View Full Code Here

Examples of org.locationtech.udig.catalog.wmsc.server.TileImageReadWriter.clearCache()

    }
    else if (dir.equals("")) {
      return false;
    }
    TileImageReadWriter tileReadWriter = new TileImageReadWriter(null, dir);
    return tileReadWriter.clearCache();
 

  public void init(IWorkbench arg0) {
  }
View Full Code Here

Examples of org.openbp.server.context.TokenContextService.clearCache()

    // (i. e. simulate system startup)
    int ret = getProcessFacade().resetExecutingTokenState(null);
    assertEquals(2, ret);

    // Clear cache so we will not be fooled by cached context objects
    tokenContextService.clearCache();

    // Execute those that can be executed
    getProcessFacade().executePendingContextsInThisThread();

    // Check the state of the executions
View Full Code Here

Examples of org.palo.api.Connection.clearCache()

    try {
      String accountId = xAccount.getId();
      Connection paloConnection = getConnectionForAccount(accountId, user, sessionId);
      if(paloConnection != null) {
        if (paloConnection.getType() == Connection.TYPE_HTTP) {
          paloConnection.clearCache();
        }
        Database[] databases = paloConnection.getDatabases();
        List<XObject> xDatabases = new ArrayList<XObject>();
        for(Database database : databases) {
          if(isValid(database)) {
View Full Code Here

Examples of org.pentaho.platform.api.engine.ICacheManager.clearCache()

    Assert.assertNull( notThere );
    shouldBeThere = cacheManager.getFromRegionCache( "Global", "globalIntegerKey" ); //$NON-NLS-1$
    Assert.assertNotNull( shouldBeThere );

    // Totally clear out the cache.
    cacheManager.clearCache();
    notThere = cacheManager.getFromRegionCache( "Global", "globalIntegerKey" ); //$NON-NLS-1$
    Assert.assertNull( notThere );
    notThere = cacheManager.getFromRegionCache( "Global", "globalBigDecimalKey" ); //$NON-NLS-1$
    Assert.assertNull( notThere );
    notThere = cacheManager.getFromRegionCache( "Global", "globalStringBufferKey" ); //$NON-NLS-1$
View Full Code Here

Examples of org.saiku.datasources.connection.ISaikuConnection.clearCache()

        con = connections.remove(newname);
      } else {
        con = getInternalConnection(name, datasource);
      }
      if (con != null) {
        con.clearCache();
      }
      con = null;
      return getInternalConnection(name, datasource);
    }
    catch (Exception e) {
View Full Code Here

Examples of org.serviceconnector.api.cln.SCMgmtClient.clearCache()

      } else if (callKey.equalsIgnoreCase(Constants.CC_CMD_DUMP)) {
        client.dump();
        System.out.println("SC dump requested");
        client.detach();
      } else if (callKey.equalsIgnoreCase(Constants.CC_CMD_CLEAR_CACHE)) {
        client.clearCache();
        System.out.println("Cache has been cleared");
        client.detach();
      } else if (callKey.equalsIgnoreCase(Constants.CC_CMD_ENABLE)) {
        try {
          client.enableService(serviceName);
View Full Code Here

Examples of org.springframework.ide.eclipse.boot.core.cli.install.IBootInstall.clearCache()

  public void handleBrowseButtonResult(String filePath) {
    if (hasText(filePath)) {
      url = new File(filePath).toURI().toString();
     
      IBootInstall newInstall = installFactory.newInstall(url, null); //name=null means let domain object choose its default name
      newInstall.clearCache();
     
      urlText.setText(url); //Note: triggers validation by way of listener attached to the urlText
     
      //Don't duplicate default name generation logic here. It belongs in the 'domain' objects implementing IBootInstall
      nameText.setText(prefPage.generateName(newInstall.getName(), install));
View Full Code Here

Examples of org.wso2.caching.CachedObject.clearCache()

                // stop any following mediators from executing
                return false;

            } else {
                // cache exists, but has expired...
                cachedObj.clearCache();
                if (traceOrDebugOn) {
                    traceOrDebug(traceOn, "Existing cached response has expired. Reset cache element");
                }
            }
View Full Code Here

Examples of org.xbill.DNS.Cache.clearCache()

        return lookupStr;
    }

    public void clearLocalCache() {
        Cache cache = Lookup.getDefaultCache(DClass.IN);
        cache.clearCache();
    }

    public String lookupName(String domainNameToLookup)
        throws Exception {
        String ip;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.