Example usage for com.amazonaws.handlers AsyncHandler interface-usage

List of usage examples for com.amazonaws.handlers AsyncHandler interface-usage

Introduction

In this page you can find the example usage for com.amazonaws.handlers AsyncHandler interface-usage.

Usage

From source file com.adeptj.modules.aws.ses.api.AwsSesAsyncHandler.java

/**
 * AWS {@link AsyncHandler} for SES async calls. Default method behaviour is to just log things.
 *
 * @author Rakesh.Kumar, AdeptJ
 */
public interface AwsSesAsyncHandler extends AsyncHandler<SendEmailRequest, SendEmailResult> {

From source file com.adeptj.modules.aws.sns.api.AwsSnsAsyncHandler.java

/**
 * AWS {@link AsyncHandler} for SNS async calls. Default method behaviour is to just log things.
 *
 * @author Rakesh.Kumar, AdeptJ
 */
public interface AwsSnsAsyncHandler extends AsyncHandler<PublishRequest, PublishResult> {

From source file com.gu.logback.appender.kinesis.helpers.AsyncPutCallStatsReporter.java

/**
 * Gathers information on how many put requests made by AWS SDK's async client,
 * succeeded or failed since the beginning
 */
public class AsyncPutCallStatsReporter implements AsyncHandler<PutRecordRequest, PutRecordResult> {

From source file com.gu.logback.appender.kinesis.helpers.FirehoseStatsReporter.java

/**
 * Gathers information on how many put requests made by AWS SDK's async client,
 * succeeded or failed since the beginning
 */
public class FirehoseStatsReporter implements AsyncHandler<PutRecordRequest, PutRecordResult> {

From source file com.gu.logback.appender.kinesis.helpers.KinesisStatsReporter.java

/**
 * Gathers information on how many put requests made by AWS SDK's async client,
 * succeeded or failed since the beginning
 */
public class KinesisStatsReporter implements AsyncHandler<PutRecordRequest, PutRecordResult> {

From source file com.tcl.gateway.firehose.log4j.helper.AsyncPutCallStatsReporter.java

/**
 * Gathers information on how many put requests made by AWS SDK's async client,
 * succeeded or failed since the beginning
 */
public class AsyncPutCallStatsReporter implements AsyncHandler<PutRecordBatchRequest, PutRecordBatchResult> {
    private static Logger logger = Logger.getLogger(AsyncPutCallStatsReporter.class);

From source file io.radiowitness.kinesis.producer.PutRecordTask.java

public class PutRecordTask extends TimerTask implements AsyncHandler<PutRecordRequest, PutRecordResult> {

    public static final int PUT_PAYLOAD_SIZE = 25000;

    private final KinesisProducerConfig config;
    private final AmazonKinesisAsyncClient client;

From source file lumbermill.internal.aws.Aws2Rx.java

/**
 * Bridges AWS requests to Observables.
 */
class Aws2Rx<REQ extends AmazonWebServiceRequest, RES> implements AsyncHandler<REQ, RES> {

    public final ReplaySubject<RES> subject;

From source file net.smartcosmos.plugin.service.aws.queue.AwsQueueAsyncHandler.java

/**
 * Initially created by tcross on September 25, 2015.
 */
public class AwsQueueAsyncHandler<Q extends SendMessageRequest, S extends SendMessageResult>
        implements AsyncHandler<SendMessageRequest, SendMessageResult> {

From source file org.eluder.logback.ext.aws.core.LoggingEventHandler.java

public class LoggingEventHandler<REQUEST extends AmazonWebServiceRequest, RESULT>
        implements AsyncHandler<REQUEST, RESULT> {

    protected final ContextAware contextAware;
    protected final CountDownLatch latch;
    protected final String errorMessage;