public class AbstractAWSMarketplaceMeteringAsync extends AbstractAWSMarketplaceMetering implements AWSMarketplaceMeteringAsync
AWSMarketplaceMeteringAsync
. Convenient
method forms pass through to the corresponding overload that takes a request
object and an AsyncHandler
, which throws an
UnsupportedOperationException
.Modifier | Constructor and Description |
---|---|
protected |
AbstractAWSMarketplaceMeteringAsync() |
Modifier and Type | Method and Description |
---|---|
Future<MeterUsageResult> |
meterUsageAsync(MeterUsageRequest request)
API to emit metering records.
|
Future<MeterUsageResult> |
meterUsageAsync(MeterUsageRequest request,
AsyncHandler<MeterUsageRequest,MeterUsageResult> asyncHandler)
API to emit metering records.
|
getCachedResponseMetadata, meterUsage, setEndpoint, setRegion, shutdown
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCachedResponseMetadata, meterUsage, setEndpoint, setRegion, shutdown
protected AbstractAWSMarketplaceMeteringAsync()
public Future<MeterUsageResult> meterUsageAsync(MeterUsageRequest request)
AWSMarketplaceMeteringAsync
API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
meterUsageAsync
in interface AWSMarketplaceMeteringAsync
public Future<MeterUsageResult> meterUsageAsync(MeterUsageRequest request, AsyncHandler<MeterUsageRequest,MeterUsageResult> asyncHandler)
AWSMarketplaceMeteringAsync
API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
meterUsageAsync
in interface AWSMarketplaceMeteringAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2018. All rights reserved.