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)
StreamDeployer
streamState
in interface StreamDeployer
streamName
- stream namepublic Map<StreamDefinition,org.springframework.cloud.deployer.spi.app.DeploymentState> streamsStates(List<StreamDefinition> streamDefinitions)
StreamDeployer
streamsStates
in interface StreamDeployer
public org.springframework.data.domain.Page<org.springframework.cloud.deployer.spi.app.AppStatus> getAppStatuses(org.springframework.data.domain.Pageable pageable) throws ExecutionException, InterruptedException
StreamDeployer
getAppStatuses
in interface StreamDeployer
ExecutionException
InterruptedException
public org.springframework.cloud.deployer.spi.app.AppStatus getAppStatus(String appDeploymentId)
StreamDeployer
getAppStatus
in interface StreamDeployer
appDeploymentId
- the id of the application instance running in the target runtime environmentpublic 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.