Package com.yahoo.vespa.config
Interface ConnectionPool
-
- All Superinterfaces:
java.lang.AutoCloseable
- All Known Implementing Classes:
JRTConnectionPool
,MockConnection
public interface ConnectionPool extends java.lang.AutoCloseable
- Author:
- hmusum
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Connection
getCurrent()
int
getSize()
com.yahoo.jrt.Supervisor
getSupervisor()
void
setError(Connection connection, int i)
Connection
setNewCurrentConnection()
-
-
-
Method Detail
-
close
void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
setError
void setError(Connection connection, int i)
-
getCurrent
Connection getCurrent()
-
setNewCurrentConnection
Connection setNewCurrentConnection()
-
getSize
int getSize()
-
getSupervisor
com.yahoo.jrt.Supervisor getSupervisor()
-
-