io.github.yawenok.apns.http2.ApnsHttp2ConnectionPool Maven / Gradle / Ivy
package io.github.yawenok.apns.http2;
public interface ApnsHttp2ConnectionPool {
void init();
void destroy();
ApnsHttp2Connection acquireConnection() throws Exception;
void returnConnection(ApnsHttp2Connection connection);
int getNumIdle();
int getNumActive();
}