Package org.apache.jmeter.samplers
Interface Interruptible
- All Known Implementing Classes:
- AccessLogSampler,- AjpSampler,- BeanShellSampler,- FTPSampler,- HTTPAbstractImpl,- HTTPFileImpl,- HTTPHC4Impl,- HTTPHCAbstractImpl,- HTTPJavaImpl,- HTTPSampler,- HTTPSamplerProxy,- JavaSampler,- JavaTest,- JMeterThread,- MailReaderSampler,- SleepTest,- SubscriberSampler,- TCPSampler,- TestAction
public interface Interruptible
Samplers which are able to interrupt a potentially long-running operation should
 implement this interface.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanInterrupt the current operation if possible.
- 
Method Details- 
interruptboolean interrupt()Interrupt the current operation if possible.- Returns:
- trueif there was an operation to interrupt.
 
 
-