Examples of reset()


Examples of org.infinispan.lucene.testutils.RepeatableLongByteSequence.reset()

         io.seek(pointers[i]);
         io.writeBytes(someTextAsBytes, someTextAsBytes.length);
      }
     
      io.close();
      bytesGenerator.reset();
      final long finalSize = REPEATABLE_BUFFER_SIZE + someTextAsBytes.length;
      assert io.length() == finalSize;
      assert io.length() == DirectoryIntegrityCheck.deepCountFileSize(new FileCacheKey(INDEXNAME,fileName), cache);
     
      int indexPointer = 0;
View Full Code Here

Examples of org.infinispan.remoting.ReplicationQueue.reset()

      }
   }

   private static void clearReplicationQueues(Cache cache) {
      ReplicationQueue queue = TestingUtil.extractComponent(cache, ReplicationQueue.class);
      if (queue != null) queue.reset();
   }

   public static void clearCacheLoader(Cache cache) {
      CacheLoaderManager cacheLoaderManager = TestingUtil.extractComponent(cache, CacheLoaderManager.class);
      if (cacheLoaderManager != null && cacheLoaderManager.getCacheStore() != null) {
View Full Code Here

Examples of org.infinispan.stats.container.ConcurrentGlobalContainer.reset()

            assertSnapshotValues(snapshots, Arrays.<Double>asList(0D, (double) remoteIndex), stats, false);
            remoteIndex++;
         }
      }

      globalContainer.reset();

      snapshots.add(globalContainer.getSnapshot());

      localIndex = 0;
      remoteIndex = 0;
View Full Code Here

Examples of org.infinispan.xsite.OfflineStatus.reset()

   }

   public void testFailureBasedOnly() throws Throwable {
      final OfflineStatus offlineStatus = new OfflineStatus(new TakeOfflineConfiguration(10, 0));
      test(offlineStatus);
      offlineStatus.reset();
      test(offlineStatus);
   }

   private void test(OfflineStatus offlineStatus) throws InterruptedException {
      for (int i = 0; i < 9; i++) {
View Full Code Here

Examples of org.itsnat.comp.ItsNatHTMLForm.reset()

        outText("OK " + evt.getType() + " "); // Para que se vea

        HTMLFormElement formElem = input.getHTMLInputElement().getForm();

        ItsNatHTMLForm form = (ItsNatHTMLForm)componentMgr.findItsNatComponent(formElem);
        form.reset();
        // Por otro lado hay un listener del form que cancela el reset, para
        // saber que la llamada se ha realizado en el cliente es precisamente
        // ver si sale el mensaje "reset"
    }
View Full Code Here

Examples of org.jacorb.notification.AnyMessage.reset()

                    Thread.sleep(10);
                } catch (InterruptedException e)
                {
                    // ignored
                }
                m.reset();
            }

            synchronized (this)
            {
                time = System.currentTimeMillis() - now;
View Full Code Here

Examples of org.jacorb.notification.StructuredEventMessage.reset()

                    Thread.sleep(10);
                } catch (InterruptedException e)
                {
                    // ignored
                }
                m.reset();
            }

            synchronized (this)
            {
                time = System.currentTimeMillis() - now;
View Full Code Here

Examples of org.jacorb.notification.util.AbstractPoolable.reset()

            }

            public void doActivateObject(Object o)
            {
                AbstractPoolable obj = (AbstractPoolable) o;
                obj.reset();
                obj.setObjectPool(this);
            }
        };
       
        evaluationContextPool_.configure(configuration);
View Full Code Here

Examples of org.jamesii.core.util.StopWatch.reset()

          + Runtime.getRuntime().freeMemory());

      println("Simulation started at "
          + new SimpleDateFormat().format(new Date()));
      ISimulationRun simulation = null;
      sw.reset();
      sw.start();
      if (parameters.useMasterServer()) {
        // TODO master server deactivated, January, 2009 - model should be
        // created on the exec. host, not here!
        // System.out.println("The simulation will be executed on the server: "
View Full Code Here

Examples of org.jasig.portal.xml.stream.BufferedXMLEventReader.reset()

        //If no PortalDataKey was passed build it from the source
        if (portalDataKey == null) {
            final StartElement rootElement = StaxUtils.getRootElement(bufferedXmlEventReader);
            portalDataKey = new PortalDataKey(rootElement);
            bufferedXmlEventReader.reset();
        }

        final String systemId = source.getSystemId();

        //Post Process the PortalDataKey to see if more complex import operations are needed
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.