- All Superinterfaces:
Comparable<OrderedServiceProvider>,OrderedServiceProvider
A Java Service Provider Interface (SPI) designed for creating various types
of memory components used within the engine.
-
Method Summary
Modifier and TypeMethodDescription<FH extends FactHandle>
MemoryFactory<FH>instance(RuntimeContext<?> context, Class<FH> factHandleType) Methods inherited from interface org.evrete.api.OrderedServiceProvider
compareTo, sortOrder
-
Method Details
-
instance
<FH extends FactHandle> MemoryFactory<FH> instance(RuntimeContext<?> context, Class<FH> factHandleType) - Parameters:
context- - the context from which a new factory is requestedfactHandleType- - the type of the fact handles accepted by the factory- Returns:
- the instance of
MemoryFactory
-