org.tarantool.ConfigurableSocketChannelProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connector Show documentation
Show all versions of connector Show documentation
Tarantool client for java
The newest version!
package org.tarantool;
public interface ConfigurableSocketChannelProvider extends SocketChannelProvider {
int RETRY_NO_LIMIT = 0;
int NO_TIMEOUT = 0;
/**
* Configures max count of retries.
*
* @param limit max attempts count
*/
void setRetriesLimit(int limit);
/**
* Configures max time to establish
* a connection per attempt.
*
* @param timeout connection timeout in millis
*/
void setConnectionTimeout(int timeout);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy