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