org.apache.jmeter.samplers

Interface Interruptible

Known Implementing Classes:
AccessLogSampler, FTPSampler, HTTPSampler, HTTPSampler2, JMeterThread, SoapSampler

public interface Interruptible

Samplers which are able to interrupt a potentially long-running operation should implement this interface.

Method Summary

boolean
interrupt()
Interrupt the current operation if possible.

Method Details

interrupt

public boolean interrupt()
Interrupt the current operation if possible.
Returns:
true if there was an operation to interrupt.

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.