java_process

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RunningStates = []string{"R", "W", "S", "I", "L"} // 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 RemovePidFromDiscoveredPids added in v1.0.13

func RemovePidFromDiscoveredPids(pid int32)

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