public class DefaultCompilableContext extends java.lang.Object implements ICompilableContext
Modifier and Type | Field and Description |
---|---|
protected boolean |
_compileOut |
protected boolean |
_deterministic |
protected boolean |
_immediate |
protected boolean |
_jammable |
Constructor and Description |
---|
DefaultCompilableContext(boolean immediate,
boolean deterministic,
boolean jammable,
boolean compileOut) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCompileOut(IRequest request)
if the buffer requests/actions can be compiled out entirely (i.e.
|
boolean |
isDeterministic(IRequest request)
returns true if this request to the buffer is deterministic.
|
boolean |
isImmediate(IRequest request)
return true if the request on the buffer is immediate, in that they will
complete by the time the production has finished firing (not long duration
requests like the visual buffer)
|
boolean |
isJammable(IRequest request)
subsequent requests may result in a buffer jam (and abort/error)
|
protected boolean _immediate
protected boolean _deterministic
protected boolean _jammable
protected boolean _compileOut
public DefaultCompilableContext(boolean immediate, boolean deterministic, boolean jammable, boolean compileOut)
public boolean isImmediate(IRequest request)
ICompilableContext
isImmediate
in interface ICompilableContext
public boolean isDeterministic(IRequest request)
ICompilableContext
isDeterministic
in interface ICompilableContext
public boolean isJammable(IRequest request)
ICompilableContext
isJammable
in interface ICompilableContext
public boolean canCompileOut(IRequest request)
ICompilableContext
canCompileOut
in interface ICompilableContext