public interface IvoryService
Modifier and Type | Method and Description |
---|---|
void |
deleteCluster(String clusterName)
Delete the cluster with the given name.
|
void |
deleteFeed(String feedName)
Delete the feed with the given feed name.
|
Cluster |
getCluster(String clusterName)
Get a cluster for the given name.
|
List<String> |
getClusterNames()
Get all the known cluster names.
|
Feed |
getFeed(String feedName)
Get a feed for the given name.
|
List<String> |
getFeedNames()
Get all the known feed names.
|
List<Instance> |
getInstances(String feedName)
Get all the instances for a given feed.
|
void |
killInstance(String feedName,
String instanceId)
Kill the instance for the given feed name and id.
|
void |
resumeFeed(String feedName)
Resume the feed with the given feed name.
|
void |
resumeInstance(String feedName,
String instanceId)
Resume the instance for the given feed name and id.
|
void |
scheduleFeed(String feedName)
Schedule the feed with the given feed name.
|
void |
submitCluster(Cluster cluster)
Submit a cluster.
|
void |
submitFeed(Feed feed)
Submit a feed.
|
void |
suspendFeed(String feedName)
Suspend the feed with the given feed name.
|
void |
suspendInstance(String feedName,
String instanceId)
Suspend the instance for the given feed name and id.
|
void |
updateCluster(Cluster cluster)
Update a cluster based on the given
Cluster object. |
void |
updateFeed(Feed feed)
Update a feed based on the given
Feed object. |
void submitFeed(Feed feed)
feed
- the feedFeed getFeed(String feedName)
feedName
- the feed nameList<String> getFeedNames()
void updateFeed(Feed feed)
Feed
object.feed
- the feed objectvoid suspendFeed(String feedName)
feedName
- the feed namevoid resumeFeed(String feedName)
feedName
- the feed namevoid scheduleFeed(String feedName)
feedName
- the feed namevoid deleteFeed(String feedName)
feedName
- the feed namevoid submitCluster(Cluster cluster)
cluster
- the clusterCluster getCluster(String clusterName)
clusterName
- the cluster nameList<String> getClusterNames()
void updateCluster(Cluster cluster)
Cluster
object.cluster
- the clustervoid deleteCluster(String clusterName)
clusterName
- the cluster nameList<Instance> getInstances(String feedName)
feedName
- the feed namevoid suspendInstance(String feedName, String instanceId)
feedName
- the feed nameinstanceId
- the idvoid resumeInstance(String feedName, String instanceId)
feedName
- the feed nameinstanceId
- the idCopyright © 2022 Apache Software Foundation. All rights reserved.