Class RedisIntegTestHandler

  • All Implemented Interfaces:
    com.amazonaws.services.lambda.runtime.RequestStreamHandler

    public class RedisIntegTestHandler
    extends Object
    implements com.amazonaws.services.lambda.runtime.RequestStreamHandler
    This Lambda function handler is only used within the Redis integration tests. The Lambda function, when invoked, will insert keys into the Redis instances. The invocation of the Lambda function must include the following environment variables: standalone_connection - The connection string used to connect to standalone Redis instance cluster_connection - The connection string used to connect to clustered Redis instance
    • Constructor Detail

      • RedisIntegTestHandler

        public RedisIntegTestHandler()
    • Method Detail

      • handleRequest

        public final void handleRequest​(InputStream inputStream,
                                        OutputStream outputStream,
                                        com.amazonaws.services.lambda.runtime.Context context)
        Specified by:
        handleRequest in interface com.amazonaws.services.lambda.runtime.RequestStreamHandler