![JAR search and dependency download from the Maven repository](/logo.png)
com.github.nill14.utils.init.api.ILazyPojo Maven / Gradle / Ivy
package com.github.nill14.utils.init.api;
import java.io.Serializable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Future;
public interface ILazyPojo extends Serializable {
T getInstance();
boolean freeInstance();
@Deprecated
Class extends T> getInstanceType();
//TODO consider getRawType, getGenericType
Future init(ExecutorService executor);
Future destroy(ExecutorService executor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy