Class StopThreadFunction.ForJava20
- java.lang.Object
-
- io.github.toolfactory.jvm.function.catalog.StopThreadFunction.Abst
-
- io.github.toolfactory.jvm.function.catalog.StopThreadFunction.ForJava7
-
- io.github.toolfactory.jvm.function.catalog.StopThreadFunction.ForJava20
-
- All Implemented Interfaces:
StopThreadFunction
,ThrowingBiConsumer<java.lang.Thread,java.lang.Throwable,java.lang.Throwable>
- Enclosing interface:
- StopThreadFunction
public static class StopThreadFunction.ForJava20 extends StopThreadFunction.ForJava7
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.github.toolfactory.jvm.function.catalog.StopThreadFunction.ForJava7
StopThreadFunction.ForJava7.ForSemeru
-
Nested classes/interfaces inherited from interface io.github.toolfactory.jvm.function.catalog.StopThreadFunction
StopThreadFunction.Abst, StopThreadFunction.ForJava20, StopThreadFunction.ForJava7
-
-
Field Summary
-
Fields inherited from class io.github.toolfactory.jvm.function.catalog.StopThreadFunction.Abst
methodHandle
-
-
Constructor Summary
Constructors Constructor Description ForJava20(java.util.Map<java.lang.Object,java.lang.Object> context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(java.lang.Thread thread, java.lang.Throwable threadDeath)
protected java.lang.reflect.Method
retrieveStopThreadMethod()
-
-
-
Method Detail
-
retrieveStopThreadMethod
protected java.lang.reflect.Method retrieveStopThreadMethod() throws java.lang.NoSuchMethodException, java.lang.SecurityException
- Overrides:
retrieveStopThreadMethod
in classStopThreadFunction.ForJava7
- Throws:
java.lang.NoSuchMethodException
java.lang.SecurityException
-
accept
public void accept(java.lang.Thread thread, java.lang.Throwable threadDeath) throws java.lang.Throwable
- Specified by:
accept
in interfaceThrowingBiConsumer<java.lang.Thread,java.lang.Throwable,java.lang.Throwable>
- Overrides:
accept
in classStopThreadFunction.Abst
- Throws:
java.lang.Throwable
-
-