Package io.microsphere.process
Interface ProcessIdResolver
-
- All Superinterfaces:
java.lang.Comparable<Prioritized>
,Prioritized
- All Known Implementing Classes:
ClassicProcessIdResolver
,ModernProcessIdResolver
,VirtualMachineProcessIdResolver
public interface ProcessIdResolver extends Prioritized
The resolver for Process ID- Since:
- 1.0.0
- Author:
- Mercy
- See Also:
ModernProcessIdResolver
-
-
Field Summary
Fields Modifier and Type Field Description static long
UNKNOWN_PROCESS_ID
The unknown process id-
Fields inherited from interface io.microsphere.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Long
current()
Resolve the current process idboolean
supports()
Whether supports to resolve the process id or not?-
Methods inherited from interface io.microsphere.lang.Prioritized
compareTo, getPriority
-
-
-
-
Field Detail
-
UNKNOWN_PROCESS_ID
static final long UNKNOWN_PROCESS_ID
The unknown process id- See Also:
- Constant Field Values
-
-