Index

A B C D E F G I J L M O P U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AgentAttacher - Class in co.elastic.apm.attach
Attaches the Elastic APM Java agent to a JVM with a specific PID or runs continuously and attaches to all running and starting JVMs which match.
AgentDownloader - Class in co.elastic.apm.attach
A utility for downloading any given version of the Elastic APM Java agent from maven central.
AgentDownloader(PgpSignatureVerifier) - Constructor for class co.elastic.apm.attach.AgentDownloader
 
AgentDownloadUtils - Class in co.elastic.apm.attach
 

B

BouncyCastleVerifier - Class in co.elastic.apm.attach.bouncycastle
DO NOT ACCESS DIRECTLY FROM PRODUCTION CODE! This class should only be accessed through PgpSignatureVerifierLoader because it depends on Bouncy Castle that must be loaded in the original jars through a dedicated class loader.
BouncyCastleVerifier() - Constructor for class co.elastic.apm.attach.bouncycastle.BouncyCastleVerifier
 

C

canSwitchToUser() - Method in class co.elastic.apm.attach.UserRegistry.User
 
co.elastic.apm.attach - package co.elastic.apm.attach
 
co.elastic.apm.attach.bouncycastle - package co.elastic.apm.attach.bouncycastle
 
Compound(List<JvmDiscoverer>) - Constructor for class co.elastic.apm.attach.JvmDiscoverer.Compound
 

D

discoverJvms() - Method in class co.elastic.apm.attach.JvmDiscoverer.Compound
 
discoverJvms() - Method in interface co.elastic.apm.attach.JvmDiscoverer
 
discoverJvms() - Method in class co.elastic.apm.attach.JvmDiscoverer.ForHotSpotVm
 
discoverJvms() - Method in class co.elastic.apm.attach.JvmDiscoverer.UsingPs
 

E

empty() - Static method in class co.elastic.apm.attach.UserRegistry
 
executeAs(List<String>) - Method in class co.elastic.apm.attach.UserRegistry.User
 
executeAsUserWithCurrentClassPath(Class<?>, List<String>) - Method in class co.elastic.apm.attach.UserRegistry.User
 

F

ForHotSpotVm(List<String>, UserRegistry) - Constructor for class co.elastic.apm.attach.JvmDiscoverer.ForHotSpotVm
 

G

get(String) - Method in class co.elastic.apm.attach.UserRegistry
 
getAgentAndSystemProperties(String, UserRegistry.User) - Static method in class co.elastic.apm.attach.GetAgentProperties
Attaches to the VM with the given pid and gets the agent and system properties.
GetAgentProperties - Class in co.elastic.apm.attach
 
GetAgentProperties() - Constructor for class co.elastic.apm.attach.GetAgentProperties
 
getAllTempDirs() - Method in class co.elastic.apm.attach.UserRegistry
 
getAllUserNames() - Method in class co.elastic.apm.attach.UserRegistry
 
getAllUsersMacOs() - Static method in class co.elastic.apm.attach.UserRegistry
 
getCliJarVersion() - Static method in class co.elastic.apm.attach.AgentDownloader
 
getCurrentJvm() - Static method in class co.elastic.apm.attach.UserRegistry.User
 
getCurrentUser() - Method in class co.elastic.apm.attach.UserRegistry
 
getCurrentUserName() - Static method in class co.elastic.apm.attach.UserRegistry
 
getPublicKeys() - Method in class co.elastic.apm.attach.AgentDownloader
Returns the public keys used to sign agent artifacts
getTargetAgentDir() - Method in class co.elastic.apm.attach.AgentDownloadUtils
 
getTargetLibDir() - Method in class co.elastic.apm.attach.AgentDownloadUtils
 
getUsername() - Method in class co.elastic.apm.attach.UserRegistry.User
 

I

isAvailable() - Method in class co.elastic.apm.attach.JvmDiscoverer.Compound
 
isAvailable() - Method in class co.elastic.apm.attach.JvmDiscoverer.ForHotSpotVm
 
isAvailable() - Method in interface co.elastic.apm.attach.JvmDiscoverer
 
isAvailable() - Method in class co.elastic.apm.attach.JvmDiscoverer.UsingPs
 
isCurrentUser() - Method in class co.elastic.apm.attach.UserRegistry.User
 

J

JvmDiscoverer - Interface in co.elastic.apm.attach
 
JvmDiscoverer.Compound - Class in co.elastic.apm.attach
 
JvmDiscoverer.ForHotSpotVm - Class in co.elastic.apm.attach
HotSpot JVMs creates a file like this: $TMPDIR/hsperfdata_$USER/<pid>
JvmDiscoverer.UsingPs - Class in co.elastic.apm.attach
 

L

LATEST_VERSION - Static variable in class co.elastic.apm.attach.AgentAttacher
 

M

main(String[]) - Static method in class co.elastic.apm.attach.AgentAttacher
 
main(String[]) - Static method in class co.elastic.apm.attach.GetAgentProperties
Prints the system and agent properties of the JVM with the provided pid to stdout, it a way that can be consumed by Properties.load(InputStream).
main(String[]) - Static method in class co.elastic.apm.attach.UserRegistry
Prints the temp dir of the current user to the console.

O

of(String) - Static method in class co.elastic.apm.attach.AgentDownloadUtils
 

P

PgpSignatureVerifier - Interface in co.elastic.apm.attach
 
PgpSignatureVerifierLoader - Class in co.elastic.apm.attach
A dedicated class loader for the PGP signature verifier implementation and its dependencies.

U

USER_AGENT - Static variable in class co.elastic.apm.attach.AgentDownloader
 
UserRegistry - Class in co.elastic.apm.attach
 
UserRegistry.User - Class in co.elastic.apm.attach
 

V

verifyPgpSignature(InputStream, InputStream, InputStream, String) - Method in class co.elastic.apm.attach.bouncycastle.BouncyCastleVerifier
A Bouncy Castle implementation for PGP signature verification.
verifyPgpSignature(InputStream, InputStream, InputStream, String) - Method in interface co.elastic.apm.attach.PgpSignatureVerifier
Verifying the given file's PGP signature based on the given public key ID and the expected signature.

W

withDiscoveredTempDirs(UserRegistry) - Static method in class co.elastic.apm.attach.JvmDiscoverer.ForHotSpotVm
 
A B C D E F G I J L M O P U V W 
All Classes and Interfaces|All Packages|Constant Field Values