public class AppDeployerStreamDeployer extends Object implements StreamDeployer
| Constructor and Description |
|---|
AppDeployerStreamDeployer(org.springframework.cloud.deployer.spi.app.AppDeployer appDeployer,
DeploymentIdRepository deploymentIdRepository,
StreamDefinitionRepository streamDefinitionRepository,
StreamDeploymentRepository streamDeploymentRepository,
ForkJoinPool forkJoinPool) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.deployer.spi.app.DeploymentState |
calculateStreamState(String streamName) |
void |
deployStream(StreamDeploymentRequest streamDeploymentRequest) |
org.springframework.cloud.deployer.spi.core.RuntimeEnvironmentInfo |
environmentInfo() |
org.springframework.cloud.deployer.spi.app.AppStatus |
getAppStatus(String id) |
List<org.springframework.cloud.deployer.spi.app.AppStatus> |
getAppStatuses(org.springframework.data.domain.Pageable pageable) |
StreamDeployment |
getStreamInfo(String streamName)
Get stream information (including the deployment properties) for the given stream name.
|
Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> |
state(List<StreamDefinition> streamDefinitions) |
void |
undeployStream(String streamName)
Undeploys the stream identified by the given stream name.
|
public AppDeployerStreamDeployer(org.springframework.cloud.deployer.spi.app.AppDeployer appDeployer,
DeploymentIdRepository deploymentIdRepository,
StreamDefinitionRepository streamDefinitionRepository,
StreamDeploymentRepository streamDeploymentRepository,
ForkJoinPool forkJoinPool)
public void deployStream(StreamDeploymentRequest streamDeploymentRequest)
public void undeployStream(String streamName)
StreamDeployerundeployStream in interface StreamDeployerstreamName - the name of the stream to un-deploypublic org.springframework.cloud.deployer.spi.app.DeploymentState calculateStreamState(String streamName)
calculateStreamState in interface StreamDeployerpublic Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> state(List<StreamDefinition> streamDefinitions)
state in interface StreamDeployerpublic List<org.springframework.cloud.deployer.spi.app.AppStatus> getAppStatuses(org.springframework.data.domain.Pageable pageable) throws ExecutionException, InterruptedException
getAppStatuses in interface StreamDeployerExecutionExceptionInterruptedExceptionpublic org.springframework.cloud.deployer.spi.app.AppStatus getAppStatus(String id)
getAppStatus in interface StreamDeployerpublic org.springframework.cloud.deployer.spi.core.RuntimeEnvironmentInfo environmentInfo()
environmentInfo in interface StreamDeployerpublic StreamDeployment getStreamInfo(String streamName)
StreamDeployergetStreamInfo in interface StreamDeployerstreamName - the name of the streamCopyright © 2018 Pivotal Software, Inc.. All rights reserved.