public class SnapshotsPagingProvider extends Object implements org.mule.runtime.extension.api.runtime.streaming.PagingProvider<PubSubConnection,Snapshot>
| Constructor and Description |
|---|
SnapshotsPagingProvider(String projectId) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(PubSubConnection connection) |
List<Snapshot> |
getPage(PubSubConnection connection) |
Optional<Integer> |
getTotalResults(PubSubConnection connection) |
public SnapshotsPagingProvider(String projectId)
public List<Snapshot> getPage(PubSubConnection connection)
getPage in interface org.mule.runtime.extension.api.runtime.streaming.PagingProvider<PubSubConnection,Snapshot>public Optional<Integer> getTotalResults(PubSubConnection connection)
getTotalResults in interface org.mule.runtime.extension.api.runtime.streaming.PagingProvider<PubSubConnection,Snapshot>public void close(PubSubConnection connection)
close in interface org.mule.runtime.extension.api.runtime.streaming.PagingProvider<PubSubConnection,Snapshot>Copyright © 2021 MuleSoft, Inc.. All rights reserved.