Examples of purge()


Examples of java.util.Timer.purge()

        // remove references to timer tasks cancelled above to make them
        // eligible for garbage collection
        Timer t = getTimer(false);
        if (t != null) {
            t.purge();
            t.cancel();
        }

        // unregistring of this managed bean from the server is done by the bus itself
    }
View Full Code Here

Examples of java.util.Timer.purge()

       
        // remove references to timer tasks cancelled above to make them
        // eligible for garbage collection
        Timer t = getTimer(false);
        if (t != null) {
            t.purge();
        }
       
        reliableEndpoints.remove(e);
    }
   
View Full Code Here

Examples of java.util.Timer.purge()

            t2.join();
        } catch (InterruptedException ie) {
            // ignore
        }
        timer.cancel();
        timer.purge();
        timer = null;
        console.setVisible(false);
        console.dispose();
        console = null;
    }
View Full Code Here

Examples of java.util.concurrent.ScheduledThreadPoolExecutor.purge()

                1, new DefaultThreadFactory(name));
       
        Runnable task = new Runnable() {
            @Override
            public void run() {
                executor.purge();
            }
        };
       
        executor.scheduleWithFixedDelay(task,
                PURGE, PURGE, TimeUnit.MILLISECONDS);
View Full Code Here

Examples of net.timewalker.ffmq3.local.destination.LocalQueue.purge()

            conn.start();

            // Flush input queue on startup
            inputQueue.purge(null);
            outputQueue.purge(null);
           
            // Enter listening loop
            notifyStartup();
            while (!stopRequired)
            {
View Full Code Here

Examples of nextapp.echo2.app.update.UpdateManager.purge()

            setFocus(rc, false);
            setModalContextRootId(rc);
           
            processQueuedCommands(rc);

            updateManager.purge();
           
            return serverMessage;
        } finally {
            // Mark instance as inactive.
            ApplicationInstance.setActive(null);
View Full Code Here

Examples of nextapp.echo2.webrender.UserInstanceUpdateManager.purge()

                ClientConfigurationUpdate.renderUpdateDirective(serverMessage, userInstance.getClientConfiguration());
            } else if (UserInstance.PROPERTY_SERVER_DELAY_MESSAGE.equals(updatedPropertyNames[i])) {
                ServerDelayMessageUpdate.renderUpdateDirective(serverMessage, userInstance.getServerDelayMessage());
            }
        }
        updateManager.purge();
    }
}
View Full Code Here

Examples of org.apache.activemq.broker.jmx.QueueViewMBean.purge()

                    }
                    BrokerViewMBean brokerMBean = (BrokerViewMBean) MBeanServerInvocationHandler.newProxyInstance(server, brokerObjectName, BrokerViewMBean.class, true);
                    brokerMBean.addQueue(destinationInfo.getPhysicalName());
                }
                proxy = (QueueViewMBean) MBeanServerInvocationHandler.newProxyInstance(server, destinationObjectName, QueueViewMBean.class, true);
                proxy.purge();
            } else {
                throw new JMSException("Purge action on topic is not supported");
            }
        } catch (MalformedObjectNameException e) {
            throw createJMSException("Fail to find the target object name", e);
View Full Code Here

Examples of org.apache.activemq.broker.jmx.QueueViewMBean.purge()

                    }
                    BrokerViewMBean brokerMBean = (BrokerViewMBean) MBeanServerInvocationHandler.newProxyInstance(server, brokerObjectName, BrokerViewMBean.class, true);
                    brokerMBean.addQueue(destinationInfo.getPhysicalName());
                }
                proxy = (QueueViewMBean) MBeanServerInvocationHandler.newProxyInstance(server, destinationObjectName, QueueViewMBean.class, true);
                proxy.purge();
            } else {
                throw new JMSException("Purge action on topic is not supported");
            }
        } catch (MalformedObjectNameException e) {
            throw createJMSException("Fail to find the target object name", e);
View Full Code Here

Examples of org.apache.activemq.broker.jmx.QueueViewMBean.purge()

        return brokers;
    }

    public void purgeQueue(ActiveMQDestination destination) throws Exception {
        QueueViewMBean queue = getQueue(destination.getPhysicalName());
        queue.purge();
    }

    public ManagementContext getManagementContext() {
        throw new IllegalStateException("not supported");
    }
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.