| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final Path | |
| private HotSpotVirtualMachine. | |
| private static final Path | |
| private static final Pattern | |
| private static final long | |
| pack-priv String | |
| private static final Path | |
| private static final Path |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| pack-priv static native void | |
| pack-priv static native void | |
| pack-priv static native void | |
| private File | |
| public void | |
| pack-priv InputStream | execute(String cmd, Object... args)
Implements abstract sun. Execute the given command in the target VM. |
| private File | |
| private String | |
| private long | |
| pack-priv static native int | |
| pack-priv static native void | |
| pack-priv static native int | |
| pack-priv static native void |
| FIELD | back to summary |
|---|---|
| private static final String FIELD | |
| MASK | back to summary |
|---|---|
| private static final String MASK | |
| PROC | back to summary |
|---|---|
| private static final Path PROC | |
| props | back to summary |
|---|---|
| private HotSpotVirtualMachine. | |
| ROOT_TMP | back to summary |
|---|---|
| private static final Path ROOT_TMP | |
| SIGNAL_MASK_PATTERN | back to summary |
|---|---|
| private static final Pattern SIGNAL_MASK_PATTERN | |
| SIGQUIT | back to summary |
|---|---|
| private static final long SIGQUIT | |
| socket_path | back to summary |
|---|---|
| pack-priv String socket_path | |
| STATUS | back to summary |
|---|---|
| private static final Path STATUS | |
| TMPDIR | back to summary |
|---|---|
| private static final Path TMPDIR | |
| VirtualMachineImpl | back to summary |
|---|---|
| pack-priv VirtualMachineImpl(AttachProvider provider, String vmid) throws AttachNotSupportedException, IOException Attaches to the target VM | |
| checkCatchesAndSendQuitTo | back to summary |
|---|---|
| private static boolean checkCatchesAndSendQuitTo(int pid, boolean throwIfNotReady) throws AttachNotSupportedException, IOException | |
| checkPermissions | back to summary |
|---|---|
| pack-priv static native void checkPermissions(String path) throws IOException | |
| close | back to summary |
|---|---|
| pack-priv static native void close(int fd) throws IOException | |
| connect | back to summary |
|---|---|
| pack-priv static native void connect(int fd, String path) throws IOException | |
| createAttachFile | back to summary |
|---|---|
| private File createAttachFile(long pid, long ns_pid) throws AttachNotSupportedException, IOException | |
| detach | back to summary |
|---|---|
| public void detach() throws IOException Implements abstract com. Detach from the target VM
| |
| execute | back to summary |
|---|---|
| pack-priv InputStream execute(String cmd, Object... args) throws AgentLoadException, IOException Implements abstract sun. Execute the given command in the target VM. | |
| findSocketFile | back to summary |
|---|---|
| private File findSocketFile(long pid, long ns_pid) throws AttachNotSupportedException, IOException | |
| findTargetProcessTmpDirectory | back to summary |
|---|---|
| private String findTargetProcessTmpDirectory(long pid) throws IOException | |
| getNamespacePid | back to summary |
|---|---|
| private long getNamespacePid(long pid) throws AttachNotSupportedException, IOException | |
| read | back to summary |
|---|---|
| pack-priv static native int read(int fd, byte[] buf, int off, int bufLen) throws IOException | |
| sendQuitTo | back to summary |
|---|---|
| pack-priv static native void sendQuitTo(int pid) throws IOException | |
| socket | back to summary |
|---|---|
| pack-priv static native int socket() throws IOException | |
| write | back to summary |
|---|---|
| pack-priv static native void write(int fd, byte[] buf, int off, int bufLen) throws IOException | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| protected int | read(long fd, byte[] bs, int off, int len)
Implements abstract sun.
|
| SocketInputStreamImpl | back to summary |
|---|---|
| public SocketInputStreamImpl(long fd) | |
| close | back to summary |
|---|---|
| protected void close(long fd) throws IOException Implements abstract sun.
| |
| read | back to summary |
|---|---|
| protected int read(long fd, byte[] bs, int off, int len) throws IOException Implements abstract sun.
| |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | write(byte[] buffer, int offset, int length)
Implements sun.
|
| fd | back to summary |
|---|---|
| private int fd | |
| SocketOutputStream | back to summary |
|---|---|
| public SocketOutputStream(int fd) | |
| write | back to summary |
|---|---|
| public void write(byte[] buffer, int offset, int length) throws IOException Implements sun.
| |