public class ZooKeeperMesosServices extends AbstractMesosServices
MesosServices implementation for the ZooKeeper high availability based mode.| Constructor and Description |
|---|
ZooKeeperMesosServices(akka.actor.ActorSystem actorSystem,
MesosArtifactServer artifactServer,
org.apache.flink.runtime.zookeeper.ZooKeeperUtilityFactory zooKeeperUtilityFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close(boolean cleanup)
Closes all state maintained by the mesos services implementation.
|
MesosWorkerStore |
createMesosWorkerStore(org.apache.flink.configuration.Configuration configuration,
Executor executor)
Creates a
MesosWorkerStore which is used to persist mesos worker in high availability
mode. |
getArtifactServer, getLocalActorSystempublic ZooKeeperMesosServices(akka.actor.ActorSystem actorSystem,
MesosArtifactServer artifactServer,
org.apache.flink.runtime.zookeeper.ZooKeeperUtilityFactory zooKeeperUtilityFactory)
public MesosWorkerStore createMesosWorkerStore(org.apache.flink.configuration.Configuration configuration, Executor executor) throws Exception
MesosServicesMesosWorkerStore which is used to persist mesos worker in high availability
mode.configuration - to be usedexecutor - to run asynchronous tasksException - if the mesos worker store could not be createdpublic void close(boolean cleanup)
throws Exception
MesosServicesclose in interface MesosServicesclose in class AbstractMesosServicescleanup - is true if a cleanup shall be performedException - if the closing operation failedCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.