
com.emc.mongoose.concurrent.SingleTaskExecutor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mongoose Show documentation
Show all versions of mongoose Show documentation
Mongoose is a high-load storage performance testing tool
The newest version!
package com.emc.mongoose.concurrent;
public interface SingleTaskExecutor
extends TaskExecutor {
/**
@return the active task instance, null if no active task is being executed at the moment
*/
Runnable task();
/**
Atomically stop the active task
@param task the task to check if it is still active
@return true if the task was still active and stopped, false otherwise
*/
boolean stop(final Runnable task);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy