public class Puller extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
Puller.Builder
A builder that can be used to build a
Puller. |
static interface |
Puller.MessageHandler
A handler for received messages.
|
| Constructor and Description |
|---|
Puller(Puller.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
int |
batchSize() |
static Puller.Builder |
builder()
Create a builder that can be used to build a
Puller. |
void |
close() |
int |
concurrency() |
int |
maxAckQueueSize() |
int |
maxOutstandingMessages() |
int |
outstandingMessages() |
int |
outstandingRequests() |
String |
project() |
long |
pullIntervalMillis() |
String |
subscription() |
public Puller(Puller.Builder builder)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic int maxAckQueueSize()
public int maxOutstandingMessages()
public int outstandingMessages()
public int concurrency()
public int outstandingRequests()
public int batchSize()
public String subscription()
public String project()
public long pullIntervalMillis()
public static Puller.Builder builder()
Puller.Copyright © 2018. All rights reserved.