Class EngineFactory


  • public final class EngineFactory
    extends Object
    The IEngine factory. It contains factory methods for IEngine.
    • Method Detail

      • createEngine

        public static IEngine createEngine​(String engineName)
        Creates IEngine instance with the specified engine name.
        Parameters:
        engineName - the engine name, cannot be null or empty.
        Returns:
        IEngine instance, never null.
      • createEngineWithSharedRunnableExecutor

        public static IEngine createEngineWithSharedRunnableExecutor​(String engineName)
        Creates IEngine instance with the specified engine name. The created engine instance shares the executor (thread) while performs IRunnableQueue.queueRunnable(Runnable). The executor is acquired by the specified name.
        Parameters:
        engineName - the engine name, cannot be null or empty.
        Returns:
        IEngine instance, never null.