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 longUNKNOWN_PROCESS_IDThe 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.Longcurrent()Resolve the current process idbooleansupports()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
-
-