Class ClusterConnection
java.lang.Object
com.yahoo.vespa.http.client.core.communication.ClusterConnection
- All Implemented Interfaces:
AutoCloseable
- Author:
- Einar M R Rosenvinge
-
Constructor Summary
ConstructorDescriptionClusterConnection
(OperationProcessor operationProcessor, FeedParams feedParams, ConnectionParams connectionParams, Cluster cluster, int clusterId, int clientQueueSizePerCluster, ScheduledThreadPoolExecutor timeoutExecutor, Clock clock) -
Method Summary
-
Constructor Details
-
ClusterConnection
public ClusterConnection(OperationProcessor operationProcessor, FeedParams feedParams, ConnectionParams connectionParams, Cluster cluster, int clusterId, int clientQueueSizePerCluster, ScheduledThreadPoolExecutor timeoutExecutor, Clock clock)
-
-
Method Details
-
getClusterId
public int getClusterId() -
post
- Throws:
EndpointIOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getStatsAsJSon
- Throws:
IOException
-
ioThreads
-
equals
-
hashCode
public int hashCode()
-