Class TimelyReteBackendFactory
- java.lang.Object
-
- org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory
-
- org.eclipse.viatra.query.runtime.rete.matcher.TimelyReteBackendFactory
-
- All Implemented Interfaces:
IQueryBackendFactory
public class TimelyReteBackendFactory extends ReteBackendFactory
AReteBackendFactory
implementation that createsReteEngine
s that use non-scattered timely evaluation.- Since:
- 2.4
-
-
Field Summary
Fields Modifier and Type Field Description static TimelyReteBackendFactory
FAITHFUL_PARALLEL
static TimelyReteBackendFactory
FAITHFUL_SEQUENTIAL
static TimelyReteBackendFactory
FIRST_ONLY_PARALLEL
static TimelyReteBackendFactory
FIRST_ONLY_SEQUENTIAL
-
Fields inherited from class org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory
INSTANCE, reteThreads
-
-
Constructor Summary
Constructors Constructor Description TimelyReteBackendFactory(TimelyConfiguration configuration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IQueryBackend
create(IQueryBackendContext context)
Creates a newIQueryBackend
instance tied to the given context elements.boolean
equals(java.lang.Object obj)
int
hashCode()
-
Methods inherited from class org.eclipse.viatra.query.runtime.rete.matcher.ReteBackendFactory
calculateRequiredCapability, create, getBackendClass, isCaching
-
-
-
-
Field Detail
-
FIRST_ONLY_SEQUENTIAL
public static final TimelyReteBackendFactory FIRST_ONLY_SEQUENTIAL
-
FIRST_ONLY_PARALLEL
public static final TimelyReteBackendFactory FIRST_ONLY_PARALLEL
-
FAITHFUL_SEQUENTIAL
public static final TimelyReteBackendFactory FAITHFUL_SEQUENTIAL
-
FAITHFUL_PARALLEL
public static final TimelyReteBackendFactory FAITHFUL_PARALLEL
-
-
Constructor Detail
-
TimelyReteBackendFactory
public TimelyReteBackendFactory(TimelyConfiguration configuration)
-
-
Method Detail
-
create
public IQueryBackend create(IQueryBackendContext context)
Description copied from interface:IQueryBackendFactory
Creates a newIQueryBackend
instance tied to the given context elements.- Specified by:
create
in interfaceIQueryBackendFactory
- Overrides:
create
in classReteBackendFactory
- Returns:
- an instance of the class returned by
IQueryBackendFactory.getBackendClass()
that operates in the given context.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classReteBackendFactory
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classReteBackendFactory
-
-