Examples of sync()


Examples of org.apache.jetspeed.container.state.MutableNavigationalState.sync()

        state = nav.getState(window);
        
        if (isMinimized(data))
        {
            nav.setState(window, WindowState.MINIMIZED);
            nav.sync(context);
            return;           
        }
       
       
        String action = data.getAction();
View Full Code Here

Examples of org.apache.jetspeed.container.state.NavigationalState.sync()

           
            //PortletContainerServices.prepare();
            NavigationalState state = request.getPortalURL().getNavigationalState();
            if (state != null)
            {
                state.sync(request);
            }
           
            PortalURL url = request.getPortalURL();
            PortletWindow actionWindow = url.getNavigationalState().getPortletWindowOfAction();
            if (null == actionWindow)
View Full Code Here

Examples of org.apache.jetspeed.rewriter.rules.Ruleset.sync()

            Document doc = builder.parse(source);

            Unmarshaller unmarshaller = new Unmarshaller(this.mapper);

            ruleset = (Ruleset) unmarshaller.unmarshal((Node) doc);
            ruleset.sync();
            rulesets.put(ruleset.getId(), ruleset);

        }
        catch (Throwable t)
        {
View Full Code Here

Examples of org.apache.ldap.server.DirectoryService.sync()

        {
            service.shutdown();
        }
        else if( cfg instanceof SyncConfiguration )
        {
            service.sync();
        }
        else if( cfg instanceof StartupConfiguration )
        {
            service.startup( this, env );
        }
View Full Code Here

Examples of org.apache.ldap.server.partition.impl.btree.Index.sync()

        // Sync all user defined indices
        while ( list.hasNext() )
        {
            Index idx = ( Index ) list.next();

            idx.sync();
        }
       
        master.sync();

        try
View Full Code Here

Examples of org.apache.lucene.store.Directory.sync()

      iw.addDocument(new Document());
      iw.close();
      IndexOutput output = dir.createOutput("_hello.world", IOContext.DEFAULT);
      output.writeString("i am unreferenced!");
      output.close();
      dir.sync(Collections.singleton("_hello.world"));
      dir.close();
    }
  }

  @Test
View Full Code Here

Examples of org.apache.lucene.store.MockDirectoryWrapper.sync()

        Set<String> files = new HashSet<String>();
        for (String file : dir.listAll()) {
          dir.copy(dirCopy, file, file, IOContext.DEFAULT);
          files.add(file);
        }
        dirCopy.sync(files);
        // Have IW kiss the dir so we remove any leftover
        // files ... we can easily have leftover files at
        // the time we take a copy because we are holding
        // open a reader:
        new IndexWriter(dirCopy, newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random()))).close();
View Full Code Here

Examples of org.apache.portals.applications.webcontent.rewriter.rules.Ruleset.sync()

            Document doc = builder.parse(source);

            Unmarshaller unmarshaller = new Unmarshaller(this.mapper);

            ruleset = (Ruleset) unmarshaller.unmarshal(doc);
            ruleset.sync();
            rulesets.put(ruleset.getId(), ruleset);

        }
        catch (Throwable t)
        {
View Full Code Here

Examples of org.apache.qpid.nclient.Session.sync()

        publisher.publishMessages(session, "usa.weather");
        publisher.publishMessages(session, "europe.news");
        publisher.publishMessages(session, "europe.weather");

        // confirm completion
        session.sync();

        //cleanup
        session.sessionDetach(session.getName());
        try
        {
View Full Code Here

Examples of org.apache.qpid.server.protocol.v0_8.AMQChannel.sync()

        {
            throw body.getChannelNotFoundException(channelId);
        }
        else
        {
            channel.sync();
            AMQQueue queue = body.getQueue() == null ? channel.getDefaultQueue() : vHost.getQueue(body.getQueue().toString());
            if (queue == null)
            {
                _log.info("No queue for '" + body.getQueue() + "'");
                if(body.getQueue()!=null)
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.