io.legaldocml.pool.PoolHolder Maven / Gradle / Ivy
The newest version!
package io.legaldocml.pool;
import java.util.function.Supplier;
/**
* @author Jacques Militello
*/
public interface PoolHolder extends Supplier {
/**
* State FREE.
*/
int FREE = 0;
/**
* State USED.
*/
int USED = 1;
/**
* State Single.
*/
int SINGLE = 2;
int getState();
void setState(int state);
}