Top Constructors Methods
io.smallrye.common.os

pack-priv final Class GetAllProcessesInfoAction

extends Object
implements PrivilegedAction<List<ProcessInfo>>
Class Inheritance
All Implemented Interfaces
java.security.PrivilegedAction
Imports
java.security.PrivilegedAction, java.util.List, java.util.stream.Collectors

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public List<ProcessInfo>
run()

Implements java.security.PrivilegedAction.run.

Performs the computation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GetAllProcessesInfoActionback to summary
pack-priv GetAllProcessesInfoAction()

Method Detail

runback to summary
public List<ProcessInfo> run()

Implements java.security.PrivilegedAction.run.

Doc from java.security.PrivilegedAction.run.

Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.

Returns:List<ProcessInfo>

a class-dependent value that may represent the results of the computation. Each class that implements PrivilegedAction should document what (if anything) this value represents.

Annotations
@Override