io.hypersistence.utils.test.transaction.VoidCallable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hypersistence-utils-hibernate-63 Show documentation
Show all versions of hypersistence-utils-hibernate-63 Show documentation
Utilities for Spring and Hibernate ORM 6.3, 6.4, and 6.5
package io.hypersistence.utils.test.transaction;
import java.util.concurrent.Callable;
/**
* @author Vlad Mihalcea
*/
@FunctionalInterface
public interface VoidCallable extends Callable {
void execute();
default Void call() {
execute();
return null;
}
}