Class FeedParams
- java.lang.Object
-
- com.yahoo.vespa.http.client.config.FeedParams
-
@Immutable public final class FeedParams extends java.lang.Object
Parameters given to aSessionFactory
when creatingSession
s. This class is immutable and has no public constructor - to instantiate one, use aFeedParams.Builder
.- Author:
- Einar M R Rosenvinge
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FeedParams.Builder
Mutable class used to instantiate aFeedParams
.static class
FeedParams.DataFormat
Enumeration of data formats that are acceptable by the OutputStream returned bySession.stream(CharSequence)
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getClientTimeout(java.util.concurrent.TimeUnit unit)
FeedParams.DataFormat
getDataFormat()
boolean
getDenyIfBusyV3()
long
getLocalQueueTimeOut()
int
getMaxChunkSizeBytes()
int
getMaxInFlightRequests()
long
getMaxSleepTimeMs()
java.lang.String
getPriority()
java.lang.String
getRoute()
long
getServerTimeout(java.util.concurrent.TimeUnit unit)
boolean
getSilentUpgrade()
java.lang.String
toUriParameters()
-
-
-
Method Detail
-
getDenyIfBusyV3
public boolean getDenyIfBusyV3()
-
getMaxSleepTimeMs
public long getMaxSleepTimeMs()
-
getSilentUpgrade
public boolean getSilentUpgrade()
-
getDataFormat
public FeedParams.DataFormat getDataFormat()
-
getRoute
public java.lang.String getRoute()
-
getServerTimeout
public long getServerTimeout(java.util.concurrent.TimeUnit unit)
-
getClientTimeout
public long getClientTimeout(java.util.concurrent.TimeUnit unit)
-
getMaxChunkSizeBytes
public int getMaxChunkSizeBytes()
-
getPriority
public java.lang.String getPriority()
-
toUriParameters
public java.lang.String toUriParameters()
-
getMaxInFlightRequests
public int getMaxInFlightRequests()
-
getLocalQueueTimeOut
public long getLocalQueueTimeOut()
-
-