com.ingenico.connect.gateway.sdk.java.PooledConnection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-sdk-java Show documentation
Show all versions of connect-sdk-java Show documentation
SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API
The newest version!
package com.ingenico.connect.gateway.sdk.java;
import java.util.concurrent.TimeUnit;
/**
* Represents a pooled connection to the Ingenico ePayments platform server.
* Instead of setting up a new HTTP connection for each request, this connection uses a pool of HTTP connections.
* Thread-safe.
*/
public interface PooledConnection extends Connection {
/**
* Closes all HTTP connections that have been idle for the specified time.
* This should also include all expired HTTP connections.
*
* @see #closeExpiredConnections()
*/
void closeIdleConnections(long idleTime, TimeUnit timeUnit);
/**
* Closes all expired HTTP connections.
*/
void closeExpiredConnections();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy