Class PubSubConfiguration.Publisher
java.lang.Object
com.google.cloud.spring.pubsub.core.PubSubConfiguration.Publisher
- Enclosing class:
- PubSubConfiguration
Publisher settings.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
int
getRetry()
void
setEnableMessageOrdering
(Boolean enableMessageOrdering) void
setEndpoint
(String endpoint) void
setExecutorAcceptTasksAfterContextClose
(Boolean executorAcceptTasksAfterContextClose) void
setExecutorAwaitTerminationMillis
(long executorAwaitTerminationMillis) void
setExecutorThreads
(int executorThreads) void
setExecutorWaitForTasksToCompleteOnShutdown
(Boolean executorWaitForTasksToCompleteOnShutdown)
-
Constructor Details
-
Publisher
public Publisher()
-
-
Method Details
-
getBatching
-
getRetry
-
getExecutorThreads
public int getExecutorThreads() -
setExecutorThreads
public void setExecutorThreads(int executorThreads) -
getExecutorAcceptTasksAfterContextClose
-
setExecutorAcceptTasksAfterContextClose
-
getExecutorWaitForTasksToCompleteOnShutdown
-
setExecutorWaitForTasksToCompleteOnShutdown
public void setExecutorWaitForTasksToCompleteOnShutdown(Boolean executorWaitForTasksToCompleteOnShutdown) -
getExecutorAwaitTerminationMillis
public long getExecutorAwaitTerminationMillis() -
setExecutorAwaitTerminationMillis
public void setExecutorAwaitTerminationMillis(long executorAwaitTerminationMillis) -
getEnableMessageOrdering
-
setEnableMessageOrdering
-
getEndpoint
-
setEndpoint
-