org.ak.trafficController.pool.Poolable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of memory-pool Show documentation
Show all versions of memory-pool Show documentation
This deals with different aspects like In memory queue, throttling, event management etc
package org.ak.trafficController.pool;
public interface Poolable {
default void clean() {};
default void addBackToPool() {
ObjectPoolManager.getInstance().addBackToPool(this);
}
}