public class SimpleDBResponseMetadata extends ResponseMetadata
ResponseMetadata
with Amazon SimpleDB specific data. In
addition to the standard AWS request ID contained in all services' response
metadata, Amazon SimpleDB also includes information on how much compute
capacity, or box usage, was used to process your request.
SimpleDB box usage is useful when looking at how different queries perform on your data. You can use that information to tune your queries, and reduce your monthly SimpleDB usage charges.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BOX_USAGE
Box Usage Constant.
|
AWS_REQUEST_ID
Constructor and Description |
---|
SimpleDBResponseMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Creates a new SimpleDBResponseMetadata object from a specified map of
metadata information.
|
SimpleDBResponseMetadata(ResponseMetadata originalResponseMetadata)
Creates a new SimpleDBResponseMetadata object from an existing
ResponseMetadata object.
|
Modifier and Type | Method and Description |
---|---|
float |
getBoxUsage()
Returns the SimpleDB box usage reported in a response's metadata.
|
getRequestId, toString
public static final java.lang.String BOX_USAGE
public SimpleDBResponseMetadata(java.util.Map<java.lang.String,java.lang.String> metadata)
metadata
- The raw metadata for the new SimpleDBResponseMetadata
object.public SimpleDBResponseMetadata(ResponseMetadata originalResponseMetadata)
originalResponseMetadata
- The ResponseMetadata object from which to
create the new object.public float getBoxUsage()
Box usage is useful when looking at how different queries perform on your data. You can use that information to tune your queries, and reduce your monthly SimpleDB usage charges.
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.