java_process

package
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RunningStates = []string{"R", "W", "S"} // Running, Waiting, Sleeping

)

Functions

func AddListener

func AddListener(listener Listener)

func GetProcessPath

func GetProcessPath(p *process.Process) (string, error)

func IsRunning

func IsRunning(p *process.Process) bool

func IsRunningProcess

func IsRunningProcess(pid int32) bool

func RemoveListener

func RemoveListener(listener Listener)

func Start

func Start()

Types

type DiscoveryWork

type DiscoveryWork struct {
	// contains filtered or unexported fields
}

type Listener

type Listener interface {
	NewJavaProcess(p *process.Process) bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL