All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.iterative.groovy.service.GroovyShellServiceMBean Maven / Gradle / Ivy

There is a newer version: 2.2.3
Show newest version
package com.iterative.groovy.service;

/**
 * Interface containing GroovyShellService methods to be exposed via JMX.
 */
public interface GroovyShellServiceMBean {
	
	/**
	 * Forcibly kill all client threads associated with this GroovyShellService.  An interrupt will be sent
	 * to each thread, after which the client socket will be closed.  If the thread doesn't exit normally at that
	 * point, it will be forcibly stopped via {@link Thread#stop()}.
	 * 
	 * 

There are known limitations and risks * associated with killing Threads, so keep in mind this is primarily intended for use in development, or as an "emergency brake" if some clients go * haywire on a production system and the risk of inconsistent object state is outweighed by the need to stop the client thread from continuing. */ void killAllClients(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy