public class TensorFlowClusterGatewayManager extends Object
TensorFlowClusterManager
and Ignite Service Grid.Constructor and Description |
---|
TensorFlowClusterGatewayManager(Ignite ignite)
Constructs a new instance of TensorFlow cluster manager with maintenance.
|
Modifier and Type | Method and Description |
---|---|
TensorFlowClusterGateway |
createCluster(UUID clusterId,
TensorFlowJobArchive jobArchive)
Creates and starts a new TensorFlow cluster for the specified cache.
|
TensorFlowClusterGateway |
getCluster(UUID clusterId)
Subscribes on changes of the specified cluster.
|
void |
listenToClusterUserScript(UUID clusterId,
Consumer<String> out,
Consumer<String> err)
Listens to TensorFlow cluster user script.
|
void |
stopClusterIfExists(UUID clusterId)
Stops TensorFlow cluster.
|
public TensorFlowClusterGatewayManager(Ignite ignite)
ignite
- Ignite instance.public TensorFlowClusterGateway getCluster(UUID clusterId)
clusterId
- Cluster identifier.public TensorFlowClusterGateway createCluster(UUID clusterId, TensorFlowJobArchive jobArchive)
clusterId
- Cluster identifier.jobArchive
- Job archive.public void listenToClusterUserScript(UUID clusterId, Consumer<String> out, Consumer<String> err)
clusterId
- Cluster identifier.out
- Output stream consumer.err
- Error stream consumer.public void stopClusterIfExists(UUID clusterId)
clusterId
- Cluster identifier.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024