public class StandaloneMesosServices extends AbstractMesosServices
MesosServices
implementation for the standalone mode.Modifier | Constructor and Description |
---|---|
protected |
StandaloneMesosServices(akka.actor.ActorSystem actorSystem,
MesosArtifactServer artifactServer) |
Modifier and Type | Method and Description |
---|---|
void |
close(boolean cleanup)
Closes all state maintained by the mesos services implementation.
|
MesosWorkerStore |
createMesosWorkerStore(Configuration configuration,
Executor executor)
Creates a
MesosWorkerStore which is used to persist mesos worker in high availability
mode. |
getArtifactServer, getLocalActorSystem
protected StandaloneMesosServices(akka.actor.ActorSystem actorSystem, MesosArtifactServer artifactServer)
public MesosWorkerStore createMesosWorkerStore(Configuration configuration, Executor executor)
MesosServices
MesosWorkerStore
which is used to persist mesos worker in high availability
mode.configuration
- to be usedexecutor
- to run asynchronous taskspublic void close(boolean cleanup) throws Exception
MesosServices
close
in interface MesosServices
close
in class AbstractMesosServices
cleanup
- is true if a cleanup shall be performedException
- if the closing operation failedCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.