MindExecutionPolicy

public final class MindExecutionPolicy extends Record

Soft per-tick scheduling budgets used to defer later Mind work under load.

A callback that returns has completed successfully even when it crosses one of these time budgets. Hard script interruption belongs to MindRunawayPolicy.

Constructors

Link copied to clipboard
public void MindExecutionPolicy(long maxCallbackNanos, long maxEntityNanosPerTick, long maxServerNanosPerTick, int maxCallbacksPerEntityTick, long maxLuaInstructionsPerCallback, int maxActionRequestsPerEntityTick)
Source-compatible constructor for the original combined scheduling/Lua policy.
public void MindExecutionPolicy(long maxCallbackNanos, long maxEntityNanosPerTick, long maxServerNanosPerTick, int maxCallbacksPerEntityTick, long maxLuaInstructionsPerCallback)
Source-compatible constructor using the default semantic action-request cap.
public void MindExecutionPolicy(long maxCallbackNanos, long maxEntityNanosPerTick, long maxServerNanosPerTick, int maxCallbacksPerEntityTick, int maxActionRequestsPerEntityTick, MindRunawayPolicy runawayPolicy)

Properties

Absolute native safety ceiling.
Link copied to clipboard
public final static MindExecutionPolicy DEFAULT

Functions

Link copied to clipboard
Legacy accessor retained for source compatibility.

Inherited functions

Link copied to clipboard
public abstract boolean equals(Object p)
Link copied to clipboard
public abstract int hashCode()
Link copied to clipboard
public abstract String toString()