io.vrap.rmf.base.client.AutoCloseableService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rmf-java-base Show documentation
Show all versions of rmf-java-base Show documentation
The e-commerce SDK from commercetools Composable Commerce for Java
package io.vrap.rmf.base.client;
import java.util.function.Supplier;
import io.vrap.rmf.base.client.http.InternalLogger;
public abstract class AutoCloseableService extends Base implements AutoCloseable {
private boolean closed = false;
protected AutoCloseableService() {
log(() -> "Creating " + getLogName());
}
private void log(final Supplier