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)
StreamDeployer
undeployStream
in interface StreamDeployer
streamName
- the name of the stream to un-deploypublic org.springframework.cloud.deployer.spi.app.DeploymentState calculateStreamState(String streamName)
calculateStreamState
in interface StreamDeployer
public Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> state(List<StreamDefinition> streamDefinitions)
state
in interface StreamDeployer
public List<org.springframework.cloud.deployer.spi.app.AppStatus> getAppStatuses(org.springframework.data.domain.Pageable pageable) throws ExecutionException, InterruptedException
getAppStatuses
in interface StreamDeployer
ExecutionException
InterruptedException
public org.springframework.cloud.deployer.spi.app.AppStatus getAppStatus(String id)
getAppStatus
in interface StreamDeployer
public org.springframework.cloud.deployer.spi.core.RuntimeEnvironmentInfo environmentInfo()
environmentInfo
in interface StreamDeployer
public StreamDeployment getStreamInfo(String streamName)
StreamDeployer
getStreamInfo
in interface StreamDeployer
streamName
- the name of the streamCopyright © 2018 Pivotal Software, Inc.. All rights reserved.