Class SessionParams
- java.lang.Object
-
- com.yahoo.vespa.http.client.config.SessionParams
-
@Immutable public final class SessionParams extends java.lang.Object
Parameters given to aSessionFactory
when creatingSession
s. This class is immutable and has no public constructor - to instantiate one, use aSessionParams.Builder
.- Author:
- Einar M R Rosenvinge
- See Also:
SessionFactory
,SessionParams.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionParams.Builder
Mutable class used to instantiate aSessionParams
.static interface
SessionParams.ErrorReporter
Interface for handling serious errors with connection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getClientQueueSize()
java.util.List<Cluster>
getClusters()
ConnectionParams
getConnectionParams()
SessionParams.ErrorReporter
getErrorReport()
FeedParams
getFeedParams()
int
getThrottlerMinSize()
-
-
-
Method Detail
-
getClusters
public java.util.List<Cluster> getClusters()
-
getFeedParams
public FeedParams getFeedParams()
-
getConnectionParams
public ConnectionParams getConnectionParams()
-
getClientQueueSize
public int getClientQueueSize()
-
getThrottlerMinSize
public int getThrottlerMinSize()
-
getErrorReport
public SessionParams.ErrorReporter getErrorReport()
-
-