org.jobrunr.jobs.details.instructions.SingleIntOperandInstruction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jobrunr Show documentation
Show all versions of jobrunr Show documentation
An easy way to perform background processing on the JVM. Backed by persistent storage. Open and free for commercial use.
package org.jobrunr.jobs.details.instructions;
import org.jobrunr.jobs.details.JobDetailsBuilder;
public class SingleIntOperandInstruction extends AbstractJVMInstruction {
private int intValue;
public SingleIntOperandInstruction(JobDetailsBuilder jobDetailsBuilder) {
super(jobDetailsBuilder);
}
public void load(int intValue) {
this.intValue = intValue;
jobDetailsBuilder.pushInstructionOnStack(this);
}
@Override
public Object invokeInstruction() {
return intValue;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy