public class FeedClient extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
FeedClient.Builder |
class |
FeedClient.FeedRequest |
| Modifier and Type | Method and Description |
|---|---|
FeedClient.FeedRequest |
all() |
void |
close() |
FeedClient.FeedRequest |
feed(String feedName) |
static FeedClient.Builder |
feedClient(SerializedClientConfig config) |
long |
getCurrentGlobalSequenceNumber()
Gets the current project global sequence number.
|
long |
getCurrentSequenceNumber(String feedName)
Gets the current sequence number given a feed.
|
List<Feed> |
listFeeds() |
public static FeedClient.Builder feedClient(SerializedClientConfig config)
public long getCurrentGlobalSequenceNumber()
public long getCurrentSequenceNumber(String feedName)
feedName - Name of feedpublic FeedClient.FeedRequest feed(String feedName)
public FeedClient.FeedRequest all()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2019. All rights reserved.