de.dagere.kopeme.Finishable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kopeme-core Show documentation
Show all versions of kopeme-core Show documentation
KoPeMe performance testing core
package de.dagere.kopeme;
/**
* Represents an runnable, that also has a finished state which indicates that the thread should finish. This is an extension which should be used in cases where the interrupt
* state may be cleared in between, but the thread should still finish.
*
* @author reichelt
*
*/
public interface Finishable extends Runnable {
/**
* Gets the finish-state.
*
* @return
*/
public boolean isFinished();
/**
* Sets the finish-state.
*
* @param isFinished
*/
public void setFinished(final boolean isFinished);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy