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 |
|---|---|
void |
deployStream(StreamDeploymentRequest streamDeploymentRequest) |
org.springframework.cloud.deployer.spi.core.RuntimeEnvironmentInfo |
environmentInfo() |
org.springframework.cloud.deployer.spi.app.AppStatus |
getAppStatus(String appDeploymentId)
Gets runtime application status
|
org.springframework.data.domain.Page<org.springframework.cloud.deployer.spi.app.AppStatus> |
getAppStatuses(org.springframework.data.domain.Pageable pageable)
Returns application statuses of all deployed applications
|
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> |
streamsStates(List<StreamDefinition> streamDefinitions)
Get the deployment states for a list of stream definitions
|
org.springframework.cloud.deployer.spi.app.DeploymentState |
streamState(String streamName)
Get the deployment state of a stream.
|
void |
undeployStream(String streamName) |
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)
public org.springframework.cloud.deployer.spi.app.DeploymentState streamState(String streamName)
StreamDeployerstreamState in interface StreamDeployerstreamName - stream namepublic Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> streamsStates(List<StreamDefinition> streamDefinitions)
StreamDeployerstreamsStates in interface StreamDeployerpublic org.springframework.data.domain.Page<org.springframework.cloud.deployer.spi.app.AppStatus> getAppStatuses(org.springframework.data.domain.Pageable pageable)
throws ExecutionException,
InterruptedException
StreamDeployergetAppStatuses in interface StreamDeployerExecutionExceptionInterruptedExceptionpublic org.springframework.cloud.deployer.spi.app.AppStatus getAppStatus(String appDeploymentId)
StreamDeployergetAppStatus in interface StreamDeployerappDeploymentId - the id of the application instance running in the target runtime environmentpublic 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.