Class FeedParams
- java.lang.Object
-
- com.yahoo.vespa.http.client.config.FeedParams
-
public final class FeedParams extends Object
Feed level parameters. 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 theFeedClient
methods.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getClientTimeout(TimeUnit unit)
FeedParams.DataFormat
getDataFormat()
boolean
getDenyIfBusyV3()
Double
getIdlePollFrequency()
long
getLocalQueueTimeOut()
int
getMaxChunkSizeBytes()
int
getMaxInFlightRequests()
long
getMaxSleepTimeMs()
String
getPriority()
String
getRoute()
long
getServerTimeout(TimeUnit unit)
boolean
getSilentUpgrade()
FeedParams.Builder
toBuilder()
Returns a builder initialized to the values of thisString
toUriParameters()
-
-
-
Method Detail
-
getDenyIfBusyV3
public boolean getDenyIfBusyV3()
-
getMaxSleepTimeMs
public long getMaxSleepTimeMs()
-
getSilentUpgrade
public boolean getSilentUpgrade()
-
getDataFormat
public FeedParams.DataFormat getDataFormat()
-
getRoute
public String getRoute()
-
getServerTimeout
public long getServerTimeout(TimeUnit unit)
-
getClientTimeout
public long getClientTimeout(TimeUnit unit)
-
getMaxChunkSizeBytes
public int getMaxChunkSizeBytes()
-
getPriority
public String getPriority()
-
toUriParameters
public String toUriParameters()
-
getMaxInFlightRequests
public int getMaxInFlightRequests()
-
getLocalQueueTimeOut
public long getLocalQueueTimeOut()
-
getIdlePollFrequency
public Double getIdlePollFrequency()
-
toBuilder
public FeedParams.Builder toBuilder()
Returns a builder initialized to the values of this
-
-