public interface StreamOperations
Modifier and Type | Method and Description |
---|---|
StreamDefinitionResource |
createStream(String name,
String definition,
boolean deploy)
Create a new stream, optionally deploying it.
|
void |
deploy(String name,
Map<String,String> properties)
Deploy an already created stream.
|
void |
destroy(String name)
Destroy an existing stream.
|
void |
destroyAll()
Destroy all streams known to the system.
|
org.springframework.hateoas.PagedResources<StreamDefinitionResource> |
list()
List streams known to the system.
|
void |
undeploy(String name)
Undeploy a deployed stream, retaining its definition.
|
void |
undeployAll()
Undeploy all currently deployed streams.
|
org.springframework.hateoas.PagedResources<StreamDefinitionResource> list()
StreamDefinitionResource createStream(String name, String definition, boolean deploy)
void undeploy(String name)
void undeployAll()
void destroy(String name)
void destroyAll()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.