Examples of purge()


Examples of com.cloud.storage.template.TemplateLocation.purge()

        TemplateLocation loc = new TemplateLocation(_storage, resourcePath);
        try {
            loc.create(dnld.getId(), true, dnld.getTmpltName());
        } catch (IOException e) {
            s_logger.warn("Something is wrong with template location " + resourcePath, e);
            loc.purge();
            return "Unable to download due to " + e.getMessage();
        }

        Iterator<Processor> en = _processors.values().iterator();
        while (en.hasNext()) {
View Full Code Here

Examples of com.db4o.ext.ExtObjectContainer.purge()

              }
            }
          }
        }
      }
      s.purge();
    }
  }

  @Inject
  private final URI dbFile;
View Full Code Here

Examples of com.elasticinbox.core.MessageDAO.purge()

  public void delete(final Mailbox mailbox) throws IOException
  {
    // purge all previously deleted objects
    // TODO: we should not instantiate here
    MessageDAO messageDAO = new CassandraMessageDAO(keyspace);
    messageDAO.purge(mailbox, new Date());

    // delete all objects from object store
    try {
      List<UUID> messageIds = null;
      UUID start = null;
View Full Code Here

Examples of com.google.wave.extensions.tweety.util.WaveSubmittedTweetsCache.purge()

      // Update the latest tweet id, and purge the cache.
      WaveSubmittedTweetsCache cache = new WaveSubmittedTweetsCache();
      if (!newTweets.isEmpty()) {
        twitterWave.setLatestTweetId(newTweets.get(0).getId());
        cache.purge(twitterWave.getWaveId(), twitterWave.getLatestTweetId());
      } else {
        String lastTweetSubmitted = cache.last(twitterWave.getWaveId());
        if (!Util.isEmpty(lastTweetSubmitted) &&
            lastTweetSubmitted.compareTo(twitterWave.getLatestTweetId()) > 0) {
          twitterWave.setLatestTweetId(lastTweetSubmitted);
View Full Code Here

Examples of com.l2jfrozen.gameserver.scripting.CompiledScriptCache.purge()

      CompiledScriptCache compiledScriptCache = L2ScriptEngineManager.getInstance().getCompiledScriptCache();
      if (compiledScriptCache == null)
        _log.info("Compiled Scripts Cache is disabled.");
      else
      {
        compiledScriptCache.purge();
        if (compiledScriptCache.isModified())
        {
          compiledScriptCache.save();
          _log.info("Compiled Scripts Cache was saved.");
        }
View Full Code Here

Examples of com.linkedin.restli.server.twitter.DiscoveredItemsResource.purge()

                    jsonEntityBody, pathKeys);

    // #3 Action on complex-key resource
    methodDescriptor = discoveredItemsResourceModel.findActionMethod("purge", ResourceLevel.COLLECTION);
    discoveredItemsResource = getMockResource(DiscoveredItemsResource.class);
    discoveredItemsResource.purge(12L);
    EasyMock.expectLastCall().once();

    jsonEntityBody = RestLiTestHelper.doubleQuote("{'user': 12}");
    checkInvocation(discoveredItemsResource,
                    methodDescriptor,
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.core.Subscription.purge()

                while (itr.hasNext()) {
                    DestinationUID c_duid = (DestinationUID) itr.next();
                    Destination dd = Destination.getDestination(c_duid);
                    Subscription oldsub = (Subscription)dd.addConsumer(sub, true, con);
                    if (oldsub != null) {
                        oldsub.purge();
                    }
                }
                sub.sendCreateSubscriptionNotification(c);
            } else if ((wildcard || !d.isQueue()) && shared) {
              // non-durable
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.core.Subscription.purge()

                // couldnt find subscription
//XXX
                errMsg = " unknown durable subscription " + durable + ":" + clientID;
                status = Status.ERROR;
            } else {
                sub.purge();
            }
         
        } catch (BrokerException ex) {
            ex.printStackTrace();
            errMsg = getMessageFromException(ex);
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.core.Subscription.purge()

  if (con instanceof Subscription)  {
            Subscription sub = (Subscription)con;

      try  {
    sub.purge();
      } catch(Exception e)  {
    handleOperationException(ConsumerOperations.PURGE, e);
      }
        }
    }
View Full Code Here

Examples of fr.sewatech.sewatoool.impress.model.TocDesc.purge()

   */
  public void generateToc(ImpressDocument document, boolean longTOC,
      boolean shortTOC) throws Exception {
    BundleHelper bundle = BundleHelper.getInstance();
    TocDesc toc = new TocDesc(document.listPages(), bundle.getTocTitle());
    toc.purge();

    TocDesc shortToc = new TocDesc(toc);

    if (longTOC) {
      logger.info("Génération de la table des matières complète");
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.