Class Destination.Service
- java.lang.Object
-
- co.elastic.apm.agent.impl.context.Destination.Service
-
- All Implemented Interfaces:
Recyclable
- Enclosing class:
- Destination
public static class Destination.Service extends java.lang.Object implements Recyclable
Context information required for service maps.
-
-
Constructor Summary
Constructors Constructor Description Service()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringBuildergetName()Deprecated.java.lang.StringBuildergetResource()java.lang.StringgetType()Deprecated.booleanhasContent()booleanisResourceSetByUser()voidresetState()resets pooled object state so it can be reusedDestination.ServicewithName(java.lang.String name)Deprecated.Destination.ServicewithResource(java.lang.String resource)Destination.ServicewithType(java.lang.String type)Deprecated.Destination.ServicewithUserResource(java.lang.String resource)
-
-
-
Method Detail
-
withUserResource
public Destination.Service withUserResource(@Nullable java.lang.String resource)
-
withResource
public Destination.Service withResource(java.lang.String resource)
-
isResourceSetByUser
public boolean isResourceSetByUser()
-
getResource
public java.lang.StringBuilder getResource()
-
withName
@Deprecated public Destination.Service withName(java.lang.String name)
Deprecated.
-
getName
@Deprecated public java.lang.StringBuilder getName()
Deprecated.
-
withType
@Deprecated public Destination.Service withType(@Nullable java.lang.String type)
Deprecated.
-
getType
@Nullable @Deprecated public java.lang.String getType()
Deprecated.
-
hasContent
public boolean hasContent()
-
resetState
public void resetState()
Description copied from interface:Recyclableresets pooled object state so it can be reused- Specified by:
resetStatein interfaceRecyclable
-
-