All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 getInstanceType();
	//TODO consider getRawType, getGenericType
	
	
	Future init(ExecutorService executor);
	
	Future destroy(ExecutorService executor);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy