ai.libs.jaicore.interrupt.Interrupt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaicore-basic Show documentation
Show all versions of jaicore-basic Show documentation
Fundamental utils required by many other starlibs projects.
package ai.libs.jaicore.interrupt;
public class Interrupt {
private final Thread interruptingThread;
private final Thread interruptedThread;
private final long timestampOfInterruption;
private final Object reasonForInterruption;
public Interrupt(final Thread interruptingThread, final Thread interruptedThread, final long timestampOfInterruption, final Object reasonForInterruption) {
super();
this.interruptingThread = interruptingThread;
this.interruptedThread = interruptedThread;
this.timestampOfInterruption = timestampOfInterruption;
this.reasonForInterruption = reasonForInterruption;
}
public Thread getInterruptingThread() {
return this.interruptingThread;
}
public Thread getInterruptedThread() {
return this.interruptedThread;
}
public long getTimestampOfInterruption() {
return this.timestampOfInterruption;
}
public Object getReasonForInterruption() {
return this.reasonForInterruption;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy