public class MiniClusterResource
extends org.junit.rules.ExternalResource
| Constructor and Description |
|---|
MiniClusterResource(MiniClusterResourceConfiguration miniClusterResourceConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
org.apache.flink.configuration.Configuration |
getClientConfiguration() |
org.apache.flink.client.program.ClusterClient<?> |
getClusterClient() |
TestBaseUtils.CodebaseType |
getCodebaseType() |
int |
getNumberSlots() |
TestEnvironment |
getTestEnvironment() |
int |
getWebUIPort() |
public MiniClusterResource(MiniClusterResourceConfiguration miniClusterResourceConfiguration)
public TestBaseUtils.CodebaseType getCodebaseType()
public int getNumberSlots()
public org.apache.flink.client.program.ClusterClient<?> getClusterClient()
public org.apache.flink.configuration.Configuration getClientConfiguration()
public TestEnvironment getTestEnvironment()
public int getWebUIPort()
public void before()
throws Exception
before in class org.junit.rules.ExternalResourceExceptionpublic void after()
after in class org.junit.rules.ExternalResourceCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.