@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonCodeGuruProfilerAsyncClient extends AmazonCodeGuruProfilerClient implements AmazonCodeGuruProfilerAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Example service documentation.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, configureAgent, createProfilingGroup, deleteProfilingGroup, describeProfilingGroup, getCachedResponseMetadata, getProfile, listProfileTimes, listProfilingGroups, postAgentProfile, updateProfilingGroup
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configureAgent, createProfilingGroup, deleteProfilingGroup, describeProfilingGroup, getCachedResponseMetadata, getProfile, listProfileTimes, listProfilingGroups, postAgentProfile, updateProfilingGroup
public static AmazonCodeGuruProfilerAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<ConfigureAgentResult> configureAgentAsync(ConfigureAgentRequest request)
AmazonCodeGuruProfilerAsync
Provides the configuration to use for an agent of the profiling group.
configureAgentAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for ConfigureAgent operation.public Future<ConfigureAgentResult> configureAgentAsync(ConfigureAgentRequest request, AsyncHandler<ConfigureAgentRequest,ConfigureAgentResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Provides the configuration to use for an agent of the profiling group.
configureAgentAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for ConfigureAgent operation.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.public Future<CreateProfilingGroupResult> createProfilingGroupAsync(CreateProfilingGroupRequest request)
AmazonCodeGuruProfilerAsync
Create a profiling group.
createProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for CreateProfilingGroup operation.public Future<CreateProfilingGroupResult> createProfilingGroupAsync(CreateProfilingGroupRequest request, AsyncHandler<CreateProfilingGroupRequest,CreateProfilingGroupResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Create a profiling group.
createProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for CreateProfilingGroup operation.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.public Future<DeleteProfilingGroupResult> deleteProfilingGroupAsync(DeleteProfilingGroupRequest request)
AmazonCodeGuruProfilerAsync
Delete a profiling group.
deleteProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for DeleteProfilingGroup operation.public Future<DeleteProfilingGroupResult> deleteProfilingGroupAsync(DeleteProfilingGroupRequest request, AsyncHandler<DeleteProfilingGroupRequest,DeleteProfilingGroupResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Delete a profiling group.
deleteProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for DeleteProfilingGroup operation.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.public Future<DescribeProfilingGroupResult> describeProfilingGroupAsync(DescribeProfilingGroupRequest request)
AmazonCodeGuruProfilerAsync
Describe a profiling group.
describeProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for DescribeProfilingGroup operation.public Future<DescribeProfilingGroupResult> describeProfilingGroupAsync(DescribeProfilingGroupRequest request, AsyncHandler<DescribeProfilingGroupRequest,DescribeProfilingGroupResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Describe a profiling group.
describeProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for DescribeProfilingGroup operation.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.public Future<GetProfileResult> getProfileAsync(GetProfileRequest request)
AmazonCodeGuruProfilerAsync
Get the aggregated profile of a profiling group for the specified time range. If the requested time range does not align with the available aggregated profiles, it will be expanded to attain alignment. If aggregated profiles are available only for part of the period requested, the profile is returned from the earliest available to the latest within the requested time range. For instance, if the requested time range is from 00:00 to 00:20 and the available profiles are from 00:15 to 00:25, then the returned profile will be from 00:15 to 00:20.
getProfileAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for GetProfile operation.public Future<GetProfileResult> getProfileAsync(GetProfileRequest request, AsyncHandler<GetProfileRequest,GetProfileResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Get the aggregated profile of a profiling group for the specified time range. If the requested time range does not align with the available aggregated profiles, it will be expanded to attain alignment. If aggregated profiles are available only for part of the period requested, the profile is returned from the earliest available to the latest within the requested time range. For instance, if the requested time range is from 00:00 to 00:20 and the available profiles are from 00:15 to 00:25, then the returned profile will be from 00:15 to 00:20.
getProfileAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for GetProfile operation.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.public Future<ListProfileTimesResult> listProfileTimesAsync(ListProfileTimesRequest request)
AmazonCodeGuruProfilerAsync
List the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.
listProfileTimesAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for ListProfileTimes operation.public Future<ListProfileTimesResult> listProfileTimesAsync(ListProfileTimesRequest request, AsyncHandler<ListProfileTimesRequest,ListProfileTimesResult> asyncHandler)
AmazonCodeGuruProfilerAsync
List the start times of the available aggregated profiles of a profiling group for an aggregation period within the specified time range.
listProfileTimesAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for ListProfileTimes operation.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.public Future<ListProfilingGroupsResult> listProfilingGroupsAsync(ListProfilingGroupsRequest request)
AmazonCodeGuruProfilerAsync
List profiling groups in the account.
listProfilingGroupsAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for ListProfilingGroups operation.public Future<ListProfilingGroupsResult> listProfilingGroupsAsync(ListProfilingGroupsRequest request, AsyncHandler<ListProfilingGroupsRequest,ListProfilingGroupsResult> asyncHandler)
AmazonCodeGuruProfilerAsync
List profiling groups in the account.
listProfilingGroupsAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for ListProfilingGroups operation.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.public Future<PostAgentProfileResult> postAgentProfileAsync(PostAgentProfileRequest request)
AmazonCodeGuruProfilerAsync
Submit profile collected by an agent belonging to a profiling group for aggregation.
postAgentProfileAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for PostAgentProfile operation.public Future<PostAgentProfileResult> postAgentProfileAsync(PostAgentProfileRequest request, AsyncHandler<PostAgentProfileRequest,PostAgentProfileResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Submit profile collected by an agent belonging to a profiling group for aggregation.
postAgentProfileAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for PostAgentProfile operation.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.public Future<UpdateProfilingGroupResult> updateProfilingGroupAsync(UpdateProfilingGroupRequest request)
AmazonCodeGuruProfilerAsync
Update a profiling group.
updateProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for UpdateProfilingGroup operation.public Future<UpdateProfilingGroupResult> updateProfilingGroupAsync(UpdateProfilingGroupRequest request, AsyncHandler<UpdateProfilingGroupRequest,UpdateProfilingGroupResult> asyncHandler)
AmazonCodeGuruProfilerAsync
Update a profiling group.
updateProfilingGroupAsync
in interface AmazonCodeGuruProfilerAsync
request
- Request for UpdateProfilingGroup operation.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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonCodeGuruProfiler
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.