Examples of sync()


Examples of com.hp.hpl.jena.tdb.store.DatasetGraphTDB.sync()

       
        if ( ! sConn.haveUsedInTransaction() && get() != null )
        {
            // Non-transactional behaviour.
            DatasetGraphTDB dsg = get() ;
            dsg.sync() ;
            dsg.close() ;
            StoreConnection.release(dsg.getLocation()) ;
            isClosed = true ;
            return ;
        }
View Full Code Here

Examples of com.sencha.gxt.widget.core.client.SplitBar.sync()

    doLayout();

    CollapsePanel cp = (CollapsePanel) panel.getData("collapse");
    SplitBar bar = cp.getSplitBar();
    if (bar != null) {
      bar.sync();
    }

    fireEvent(new CollapseItemEvent<ContentPanel>(panel));
  }
View Full Code Here

Examples of com.sleepycat.je.Database.sync()

        } finally {
            // in finally block so that we unlock the target env even if we
            // failed to populate it
            if (envFile != null) {
                logger.info(count + " records imported from " + sourcePath + " to BDB env " + envFile);
                historyDB.sync();
                historyDB.close();
                targetEnv.close();
            } else {
                logger.info(count + " records found in " + sourcePath);
            }
View Full Code Here

Examples of com.sleepycat.je.Environment.sync()

                System.out.println("Cleaned " + cleaned + " files.");
            CheckpointConfig cp = new CheckpointConfig();
            cp.setForce(true);
            environment.checkpoint(null);
            environment.compress();
            environment.sync();
            System.out.println("Cleaning, Checkpointing and compression completed.");
        }

        System.out.println();
        System.out.println("iteration read write:");
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.core.Destination.sync()

            if (storeNeedsRestart) {
                // Now unload all the destinations that we've loaded so msgs can be routed correctly later on by the broker
                Iterator itr = dstLoadedSet.iterator();
                while (itr.hasNext()) {
                    Destination d = (Destination)itr.next();
                    d.sync(); // Sync changes to disk
                    d.unload(true);
                }
                dstLoadedSet = null;

                // Sync changes to txn tables
View Full Code Here

Examples of de.grey.ownsync.OwnSyncStarter.sync()

    private void startOwnSync(OwnSyncConfiguration configuration)
    {
        try
        {
            OwnSyncStarter starter = new OwnSyncStarter(configuration);
            starter.sync();
        }
        catch (Exception e)
        {
            e.printStackTrace();
            fail();
View Full Code Here

Examples of gnu.java.text.AttributedFormatBuffer.sync()

      throw new IllegalArgumentException("argument should be an instance of java.util.Date");

    AttributedFormatBuffer buf = new AttributedFormatBuffer();
    formatWithAttribute((Date)date, buf,
                        null);
    buf.sync();

    return new FormatCharacterIterator(buf.getBuffer().toString(),
                                       buf.getRanges(),
                                       buf.getAttributes());
  }
View Full Code Here

Examples of io.netty.channel.ChannelFuture.sync()

                public void initChannel(SocketChannel channel) throws Exception {
                    channel.pipeline().addLast(new TestServerHandler());
                };
            });
            ChannelFuture bindFuture = bootstrap.bind();
            bindFuture.sync();
            Channel channel = bindFuture.channel();
            ChannelFuture closeFuture = channel.closeFuture();
            //closeFuture.sync();
        } catch (InterruptedException e) {
            // TODO Auto-generated catch block
View Full Code Here

Examples of java.awt.Toolkit.sync()

        this.fileExt = fileExt;
    }

    public void capture() {
        Toolkit tk = Toolkit.getDefaultToolkit();
        tk.sync();
        Rectangle ecran = new Rectangle(tk.getScreenSize());
        try {
            robot = new Robot();
        } catch (java.awt.AWTException awte) {
            awte.printStackTrace();
View Full Code Here

Examples of java.io.FileDescriptor.sync()

        while (true) {
            if (write.getFilePointer() >= fileSize) {
                break;
            }
            write.writeBytes(i + "\r\n");
            fd.sync();
            out.writeInt(i);
            out.flush();
            i++;
        }
        write.close();
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.