Examples of reset()


Examples of com.sun.enterprise.admin.wsmgmt.stats.spi.WebServiceEndpointStatsProvider.reset()

     * Resets the statistics.
     */
    public void resetStats() {
        WebServiceEndpointStatsProvider provider = getWSProvider();
        if (provider != null) {
            provider.reset();
        }
    }

    /**
     * Returns the last reset time stamp in milliseconds.
View Full Code Here

Examples of com.sun.enterprise.ee.admin.lbadmin.monitor.LbMonitoringHelper.reset()

                if(lb == null)
                    throw new Exception( _strMgr.getString("LbDoesNotExist", lbName));
                configName = lb.getLbConfigName();
            }
            LbMonitoringHelper lbMonitoringHelper = new LbMonitoringHelper(ctx, configName, lbName);
            lbMonitoringHelper.reset();
            _logger.log(Level.INFO, _sMgr.getString(
                    "http_lb_admin.ResetStats", lbName));
        } catch (Exception e) {
            String msg = _strMgr.getString("LbResetStatsFailed",
                         lbName);
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.monitor.stats.ConnectionQueueStatsProvider.reset()

            final ConnectionQueueStatsProvider connectionQueueStatsProvider =
                    grizzlyMonitoring.getConnectionQueueStatsProvider(monitoringId);
            if (connectionQueueStatsProvider != null) {
                connectionQueueStatsProvider.setStatsObject(config);
                connectionQueueStatsProvider.reset();
            }
        }
    }

    @Override
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.monitor.stats.KeepAliveStatsProvider.reset()

        if (grizzlyMonitoring != null) {
            final KeepAliveStatsProvider statsProvider =
                    grizzlyMonitoring.getKeepAliveStatsProvider(monitoringId);
            statsProvider.setStatsObject(config);
            statsProvider.reset();
        }
    }

    @Override
    public void onConnectionAcceptEvent(final Connection connection) {
View Full Code Here

Examples of com.sun.enterprise.v3.services.impl.monitor.stats.ThreadPoolStatsProvider.reset()

        if (grizzlyMonitoring != null) {
            final ThreadPoolStatsProvider threadPoolStatsProvider =
                    grizzlyMonitoring.getThreadPoolStatsProvider(monitoringId);
            if (threadPoolStatsProvider != null) {
                threadPoolStatsProvider.setStatsObject(config);
                threadPoolStatsProvider.reset();
            }

            final ConnectionQueueStatsProvider connectionQueueStatsProvider =
                    grizzlyMonitoring.getConnectionQueueStatsProvider(monitoringId);
            if (connectionQueueStatsProvider != null) {
View Full Code Here

Examples of com.sun.faces.io.Base64InputStream.reset()

        try {
            if (guard != null) {
                byte[] bytes = stateString.getBytes();
                int numRead = bis.read(bytes, 0, bytes.length);
                byte[] decodedBytes = new byte[numRead];
                bis.reset();
                bis.read(decodedBytes, 0, decodedBytes.length);

                bytes = guard.decrypt(decodedBytes);
                if (bytes == null) return null;
                bis = new ByteArrayInputStream(bytes);
View Full Code Here

Examples of com.sun.media.sound.SoftLowFrequencyOscillator.reset()

    private static void testLFO(boolean shared, int instance, float freq, float delay,
            float delay2) throws Exception {
        SoftLowFrequencyOscillator lfo =
            shared?TestProcessControlLogic.lfo:new SoftLowFrequencyOscillator();
        lfo.reset();
        double[] lfo_freq = lfo.get(instance, "freq");
        double[] lfo_delay = lfo.get(instance, "delay");
        double[] lfo_delay2 = lfo.get(instance, "delay2");
        double[] lfo_output = lfo.get(instance, null);
        lfo_freq[0] = freq;
View Full Code Here

Examples of com.sun.messaging.jmq.jmsserver.util.MetricManager.reset()

                service.resetCounters();
        }

        // reset metrics manager
        MetricManager mm = Globals.getMetricManager();
        mm.reset();

  /*
   * Reset metrics that are kept track of by JMX MBeans
   */
  Agent agent = Globals.getAgent();
View Full Code Here

Examples of com.sun.org.apache.xerces.internal.xni.parser.XMLComponent.reset()

         */
        protected void reset() throws XNIException {
                int count = fComponents.size();
                for (int i = 0; i < count; i++) {
                        XMLComponent c = (XMLComponent) fComponents.get(i);
                        c.reset(this);
                }

        } // reset()

        /**
 
View Full Code Here

Examples of com.sun.org.apache.xml.internal.dtm.DTMAxisIterator.reset()

        else if (obj instanceof String) {
            return stringToReal((String) obj);
        }
        else if (obj instanceof DTMAxisIterator) {
            DTMAxisIterator iter = (DTMAxisIterator) obj;
            return stringToReal(dom.getStringValueX(iter.reset().next()));
        }
        else if (obj instanceof Node) {
            return stringToReal(dom.getStringValueX(((Node) obj).node));
        }
        else if (obj instanceof DOM) {
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.