Examples of reset()


Examples of com.caucho.jms.message.BytesMessageImpl.reset()

    throws IOException, JMSException
  {
    BytesMessageImpl bytes = new BytesMessageImpl();

    if (is == null) {
      bytes.reset();
     
      return bytes;
    }

    int data;
View Full Code Here

Examples of com.caucho.jms.message.StreamMessageImpl.reset()

      throw new JmsExceptionWrapper(e);
    }

    in.close();

    stream.reset();
   
    return stream;
  }

  /**
 
View Full Code Here

Examples of com.caucho.quercus.env.SessionArrayValue.reset()

    if (isNew) {
      isNew = ! load(env, session, now);
    }
    else if (! getSaveOnlyOnShutdown() && ! session.load()) {
      // if the load failed, then the session died out from underneath
      session.reset(now);
      isNew = true;
    }

    if (! isNew)
      session.setAccess(now);
View Full Code Here

Examples of com.chenlb.mmseg4j.analysis.MMSegTokenizer.reset()

    MMSegTokenizer tokenizer = tokenizerLocal.get();
    if(tokenizer == null) {
      tokenizer = newTokenizer(input);
    } else {
      try {
        tokenizer.reset(input);
      } catch (IOException e) {
        tokenizer = newTokenizer(input);
        log.info("MMSegTokenizer.reset i/o error by:"+e.getMessage());
      }
    }
View Full Code Here

Examples of com.cloud.hypervisor.vmware.mo.VirtualMachineMO.reset()

                } catch(Exception e) {
                    s_logger.warn("We are not able to perform gracefull guest reboot due to " + VmwareHelper.getExceptionMessage(e));
                }

                // continue to try with hard-reset
                if (vmMo.reset()) {
                    return new RebootAnswer(cmd, "reboot succeeded", true);
                }

                String msg = "Reboot failed in vSphere. vm: " + cmd.getVmName();
                s_logger.warn(msg);
View Full Code Here

Examples of com.cloudera.cdk.morphline.shaded.com.google.code.regexp.Matcher.reset()

            break;
          }
        }       
        int numMatches = 0;
        for (Object value : values) {
          matcher.reset(value.toString());
          if (!findSubstrings) {
            if (matcher.matches()) {
              numMatches++;
              if (numMatches > maxMatches) {
                LOG.debug("grok failed because it found too many matches for values: {} for grok command: {}",
View Full Code Here

Examples of com.cybozu.vmbkp.config.Parser.reset()

        }
       
        Parser p = new Parser(str);

        /* basic string */
        p.reset();
        if (p.parseBSTRING() != null && p.isEnd()) {
            return Type.BSTRING;
        }

        /* normal string */
 
View Full Code Here

Examples of com.dci.intellij.dbn.connection.ProjectConnectionBundle.reset()

    }

    public void resetChanges() {
        Project project = getConfiguration().getProject();
        ProjectConnectionBundle projectConnectionManager = ProjectConnectionBundle.getInstance(project);
        projectConnectionManager.reset();

        ModuleManager moduleManager = ModuleManager.getInstance(project);
        Module[] modules = moduleManager.getModules();
        for (Module module : modules) {
            ModuleConnectionBundle.getInstance(module).reset();
View Full Code Here

Examples of com.dci.intellij.dbn.connection.config.ConnectionSettings.reset()

    public void resetChanges() {
        ConnectionListModel listModel = (ConnectionListModel) connectionsList.getModel();
        for (int i=0; i< listModel.getSize(); i++) {
            ConnectionSettings connectionSettings = (ConnectionSettings) listModel.getElementAt(i);
            connectionSettings.reset();
        }
    }

    public void selectConnection(ConnectionHandler connectionHandler) {
        connectionsList.setSelectedValue(connectionHandler.getSettings(), true);
View Full Code Here

Examples of com.dci.intellij.dbn.database.DatabaseDebuggerInterface.reset()

    @Override
    public void reset() {
        getMetadataInterface().reset();
        getDDLInterface().reset();
        DatabaseDebuggerInterface debuggerInterface = getDebuggerInterface();
        if (debuggerInterface != null) debuggerInterface.reset();
    }
}
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.