Package com.amazonaws.xray.plugins
Class ECSPlugin
- java.lang.Object
-
- com.amazonaws.xray.plugins.ECSPlugin
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ORIGIN
-
Constructor Summary
Constructors Constructor Description ECSPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(@Nullable java.lang.Object o)
Determine equality of plugins using origin to uniquely identify themjava.util.Set<AWSLogReference>
getLogReferences()
java.lang.String
getOrigin()
Returns the name of the origin associated with this plugin.java.util.Map<java.lang.String,@Nullable java.lang.Object>
getRuntimeContext()
java.lang.String
getServiceName()
int
hashCode()
Hash plugin object using origin to uniquely identify themboolean
isEnabled()
Returns true if the environment variable added by ECS is present and contains a valid URIvoid
populateRuntimeContext()
-
-
-
Field Detail
-
ORIGIN
public static final java.lang.String ORIGIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
Returns true if the environment variable added by ECS is present and contains a valid URI
-
getServiceName
public java.lang.String getServiceName()
- Specified by:
getServiceName
in interfacePlugin
-
populateRuntimeContext
public void populateRuntimeContext()
-
getRuntimeContext
public java.util.Map<java.lang.String,@Nullable java.lang.Object> getRuntimeContext()
- Specified by:
getRuntimeContext
in interfacePlugin
-
getLogReferences
public java.util.Set<AWSLogReference> getLogReferences()
- Specified by:
getLogReferences
in interfacePlugin
-
getOrigin
public java.lang.String getOrigin()
Description copied from interface:Plugin
Returns the name of the origin associated with this plugin. TheAWSXRayRecorder
contains a prioritized list of origins from least to most specific.
-
equals
public boolean equals(@Nullable java.lang.Object o)
Determine equality of plugins using origin to uniquely identify them- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Hash plugin object using origin to uniquely identify them- Overrides:
hashCode
in classjava.lang.Object
-
-