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
AReteBackendFactoryimplementation that createsReteEngines that use non-scattered timely evaluation.- Since:
- 2.4
-
-
Field Summary
Fields Modifier and Type Field Description static TimelyReteBackendFactoryFAITHFUL_PARALLELstatic TimelyReteBackendFactoryFAITHFUL_SEQUENTIALstatic TimelyReteBackendFactoryFIRST_ONLY_PARALLELstatic TimelyReteBackendFactoryFIRST_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 IQueryBackendcreate(IQueryBackendContext context)Creates a newIQueryBackendinstance tied to the given context elements.booleanequals(java.lang.Object obj)inthashCode()-
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:IQueryBackendFactoryCreates a newIQueryBackendinstance tied to the given context elements.- Specified by:
createin interfaceIQueryBackendFactory- Overrides:
createin classReteBackendFactory- Returns:
- an instance of the class returned by
IQueryBackendFactory.getBackendClass()that operates in the given context.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classReteBackendFactory
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classReteBackendFactory
-
-