protected static interface ByteBuddyAgent.AttachmentTypeEvaluator
Modifier and Type | Interface and Description |
---|---|
static class |
ByteBuddyAgent.AttachmentTypeEvaluator.Disabled
An attachment type evaluator that never requires external attachment.
|
static class |
ByteBuddyAgent.AttachmentTypeEvaluator.ForJava9CapableVm
An attachment type evaluator that checks a process id against the current process id.
|
static class |
ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction
An installation action for creating an attachment type evaluator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
requiresExternalAttachment(String processId)
Checks if the current VM requires external attachment for the supplied process id.
|
boolean requiresExternalAttachment(String processId)
processId
- The process id of the process to which to attach.true
if the current VM requires external attachment for the supplied process.Copyright © 2014–2020. All rights reserved.