Examples of open()


Examples of org.gvt.inspector.StringInputDialog.open()

        StringInputDialog dialog = new StringInputDialog(main.getShell(), "Rename Pathway",
          "Enter new name", tab.getText());

        dialog.setSelectText(true);

        newname = dialog.open();
      }
      while(newname != null && !newname.equals(tab.getText()) &&
        (main.getAllPathwayNames().contains(newname) ||
        main.getOpenTabNames().contains(newname)));
View Full Code Here

Examples of org.hibernate.search.indexes.IndexReaderAccessor.open()

                // search on all indexed fields: generate field list, removing internal hibernate search field name: _hibernate_class
                // TODO: possible improvement: cache the fields of each entity
                SearchFactory searchFactory = fullTextEntityManager.getSearchFactory();
                readerAccessor = searchFactory.getIndexReaderAccessor();
                reader = readerAccessor.open(searchedEntity);
                Collection<String> fieldNames = new HashSet<>();
                for (FieldInfo fieldInfo : ReaderUtil.getMergedFieldInfos(reader)) {
                    if (fieldInfo.isIndexed) {
                        fieldNames.add(fieldInfo.name);
                    }
View Full Code Here

Examples of org.hive2hive.client.menu.IntroMenu.open()

    printInstructions();
   
    new LoggerMenu().open();
   
    IntroMenu menu = new IntroMenu();
    menu.open();
    menu.shutdown();
   
    printFooter();
  }
 
View Full Code Here

Examples of org.hornetq.core.asyncio.impl.AsynchronousFileImpl.open()

      try
      {
         final int NUMBER_LINES = 1000;
         final int SIZE = 512;

         controller.open(FILE_NAME, 1000);

         controller.fill(0, 1, NUMBER_LINES * SIZE, (byte)'j');

         final ArrayList<ByteBuffer> buffers = new ArrayList<ByteBuffer>();

View Full Code Here

Examples of org.hornetq.core.journal.SequentialFile.open()

      for (String fileName : fileNames)
      {
         SequentialFile file = fileFactory.createSequentialFile(fileName, filesRepository.getMaxAIO());

         file.open(1, false);

         try
         {

            JournalFileImpl jrnFile = readFileHeader(file);
View Full Code Here

Examples of org.hornetq.core.message.BodyEncoder.open()

      BodyEncoder context = msgI.getBodyEncoder();

      final long bodySize = context.getLargeBodySize();

      context.open();
      try
      {

         for (int pos = 0; pos < bodySize; )
         {
View Full Code Here

Examples of org.hornetq.core.paging.Page.open()

               // The current page is empty... which means we reached the end of the pages
               if (returnPage.getNumberOfMessages() == 0)
               {
                  stopPaging();
                  returnPage.open();
                  returnPage.delete(null);

                  // This will trigger this address to exit the page mode,
                  // and this will make HornetQ start using the journal again
                  return null;
View Full Code Here

Examples of org.hornetq.core.paging.impl.Page.open()

            try
            {
               page = pagingStore.createPage((int)pageId);

               storageManager.beforePageRead();
               page.open();

               List<PagedMessage> pgdMessages = page.read(storageManager);
               cache.setMessages(pgdMessages.toArray(new PagedMessage[pgdMessages.size()]));
            }
            finally
View Full Code Here

Examples of org.hornetq.core.paging.impl.PageImpl.open()

      PageImpl impl = new PageImpl(new SimpleString("something"), new NullStorageManager(), factory, file, 10);

      Assert.assertEquals(10, impl.getPageId());

      impl.open();

      Assert.assertEquals(1, factory.listFiles("page").size());

      SimpleString simpleDestination = new SimpleString("Test");
View Full Code Here

Examples of org.hyperic.sigar.win32.EventLog.open()

public class EventLogTail {

    private static void tail(String name, Tail tail) throws Win32Exception {
        EventLog log = new EventLog();
        log.open(name);
        int max = log.getNumberOfRecords();
        if (tail.number < max) {
            max = tail.number;
        }
        int last = log.getNewestRecord()+1;
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.