org.gridvise.LocalAPI.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gridvise-core Show documentation
Show all versions of gridvise-core Show documentation
gridvise-core is an opensource project
The newest version!
package org.gridvise
import org.gridvise.logical.ClusterConfigParser
import org.gridvise.mgmtcache.coh.entity.config.ConfigCache
import org.gridvise.mgmtcache.coh.entity.launchable.LaunchableCache
object LocalAPI {
def start() {
LaunchableCache.getLaunchablesOnThisMachine().foreach(l => l.start() )
}
def stop() {
LaunchableCache.getLaunchablesOnThisMachine().foreach(l => l.stop())
}
def initialize() {
stop()
LaunchableCache.clear()
ClusterConfigParser.initialize(ConfigCache.getConfig())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy