@ Override public java . util . concurrent . Future < MergeShardsResult > mergeShardsAsync ( String streamName , String shardToMerge , String adjacentShardToMerge , com . amazonaws . handlers . AsyncHandler < MergeShardsRequest , MergeShardsResult > asyncHandler ) { return mergeShardsAsync ( new MergeShardsRequest ( ) . withStreamName ( streamName ) . withShardToMerge ( shardToMerge ) . withAdjacentShardToMerge ( adjacentShardToMerge ) , asyncHandler ) ; }
Simplified method form for invoking the MergeShards operation with an AsyncHandler .