All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.factoryfx.copperbridge.PersistentEngineContainer Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package io.github.factoryfx.copperbridge;

import org.copperengine.core.batcher.impl.BatcherImpl;
import org.copperengine.core.persistent.PersistentScottyEngine;

class PersistentEngineContainer {

    final PersistentScottyEngine persistentProcessingEngine;
    private final BatcherImpl batcher;

    PersistentEngineContainer(PersistentScottyEngine persistentProcessingEngine, BatcherImpl batcher) {
        this.persistentProcessingEngine = persistentProcessingEngine;
        this.batcher = batcher;
    }

    void startup() {
        batcher.startup();
        persistentProcessingEngine.startup();
    }

    void shutdown() {
        persistentProcessingEngine.shutdown();
        batcher.shutdown();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy