public static class PubSubConfiguration.Subscriber extends Object
Constructor and Description |
---|
Subscriber() |
Modifier and Type | Method and Description |
---|---|
Integer |
getExecutorThreads() |
PubSubConfiguration.FlowControl |
getFlowControl() |
Long |
getMaxAckExtensionPeriod() |
int |
getMaxAcknowledgementThreads() |
Integer |
getParallelPullCount() |
String |
getPullEndpoint() |
PubSubConfiguration.Retry |
getRetry() |
com.google.api.gax.rpc.StatusCode.Code[] |
getRetryableCodes() |
void |
setExecutorThreads(int executorThreads)
Set the number of executor threads.
|
void |
setMaxAckExtensionPeriod(Long maxAckExtensionPeriod) |
void |
setMaxAcknowledgementThreads(int maxAcknowledgementThreads) |
void |
setParallelPullCount(Integer parallelPullCount) |
void |
setPullEndpoint(String pullEndpoint) |
void |
setRetryableCodes(com.google.api.gax.rpc.StatusCode.Code[] retryableCodes) |
public PubSubConfiguration.Retry getRetry()
public com.google.api.gax.rpc.StatusCode.Code[] getRetryableCodes()
public void setRetryableCodes(com.google.api.gax.rpc.StatusCode.Code[] retryableCodes)
public PubSubConfiguration.FlowControl getFlowControl()
public String getPullEndpoint()
public void setPullEndpoint(String pullEndpoint)
public Long getMaxAckExtensionPeriod()
public void setMaxAckExtensionPeriod(Long maxAckExtensionPeriod)
public Integer getParallelPullCount()
public void setParallelPullCount(Integer parallelPullCount)
public Integer getExecutorThreads()
public void setExecutorThreads(int executorThreads)
executorThreads
- the number of threadspublic int getMaxAcknowledgementThreads()
public void setMaxAcknowledgementThreads(int maxAcknowledgementThreads)
Copyright © 2021. All rights reserved.