Package eu.antidotedb.client
Class Connection
- java.lang.Object
-
- eu.antidotedb.client.Connection
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class Connection extends java.lang.Object implements java.lang.AutoCloseableThe Class Connection.
-
-
Constructor Summary
Constructors Constructor Description Connection(ConnectionPool p, java.net.Socket s, java.util.List<TransformerFactory> transformerFactories)Instantiates a new connection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidreturnConnection()Return connection.voidsetunHealthyConnection()Transformertransformer()
-
-
-
Constructor Detail
-
Connection
public Connection(ConnectionPool p, java.net.Socket s, java.util.List<TransformerFactory> transformerFactories)
Instantiates a new connection.- Parameters:
p- the ps- the s
-
-
Method Detail
-
returnConnection
public void returnConnection()
Return connection.
-
setunHealthyConnection
public void setunHealthyConnection()
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
transformer
public Transformer transformer()
-
-