public interface IKinesisProducer
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<UserRecordResult> |
addUserRecord(String stream,
String partitionKey,
ByteBuffer data) |
com.google.common.util.concurrent.ListenableFuture<UserRecordResult> |
addUserRecord(String stream,
String partitionKey,
String explicitHashKey,
ByteBuffer data) |
com.google.common.util.concurrent.ListenableFuture<UserRecordResult> |
addUserRecord(UserRecord userRecord) |
void |
destroy() |
void |
flush() |
void |
flush(String stream) |
void |
flushSync() |
List<Metric> |
getMetrics() |
List<Metric> |
getMetrics(int windowSeconds) |
List<Metric> |
getMetrics(String metricName) |
List<Metric> |
getMetrics(String metricName,
int windowSeconds) |
int |
getOutstandingRecordsCount() |
com.google.common.util.concurrent.ListenableFuture<UserRecordResult> addUserRecord(String stream, String partitionKey, ByteBuffer data)
com.google.common.util.concurrent.ListenableFuture<UserRecordResult> addUserRecord(UserRecord userRecord)
com.google.common.util.concurrent.ListenableFuture<UserRecordResult> addUserRecord(String stream, String partitionKey, String explicitHashKey, ByteBuffer data)
int getOutstandingRecordsCount()
List<Metric> getMetrics(String metricName, int windowSeconds) throws InterruptedException, ExecutionException
List<Metric> getMetrics(String metricName) throws InterruptedException, ExecutionException
List<Metric> getMetrics() throws InterruptedException, ExecutionException
List<Metric> getMetrics(int windowSeconds) throws InterruptedException, ExecutionException
void destroy()
void flush(String stream)
void flush()
void flushSync()
Copyright © 2018. All rights reserved.